home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh Fundamentals / MacintoshFundamentals-v2-0.iso / MacFun 2.0 / MF Orient < prev    next >
MacBinary  |  1990-04-09  |  342.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Dec 21 09:32:25 1989, modified Mon Apr 9 11:41:28 1990, creator HyperCard, type HyperCard stack, 203392 bytes "MF Orient" , at 0x31b00 147573 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 4d 46 20 4f 72 69 | 65 6e 74 00 00 00 00 00 |..MF Ori|ent.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 03 1a 80 00 | 02 40 75 a1 b6 99 f9 a2 |........|.@u.....|
|00000060| 46 5d a8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |F]......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 78 8e 00 00 |........|....x...|
|00000080| 00 00 78 00 53 54 41 4b | ff ff ff ff ea 02 e6 e0 |..x.STAK|........|
|00000090| 00 00 00 08 00 03 1a 80 | 00 00 78 00 00 00 00 00 |........|..x.....|
|000000a0| 00 00 00 00 00 00 00 07 | 00 00 30 b3 00 00 00 13 |........|..0.....|
|000000b0| 00 00 6f 22 00 00 14 3f | 00 00 00 00 00 00 00 00 |..o"...?|........|
|000000c0| 00 00 0d 4a 00 00 00 00 | 00 05 00 00 10 00 00 00 |...J....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |."..."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | aa aa aa aa aa aa aa aa |."."."."|........|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | 8c c8 8c c8 8c c8 8c c8 |........|........|
|00000450| cc cc 8c cc c8 cc cc c8 | f0 f0 f0 f0 f0 f0 f0 f0 |........|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | 52 88 01 52 88 01 d2 08 |...].A..|R..R....|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 7c 20 56 65 72 73 | 69 6f 6e 20 32 2e 30 0d |--| Vers|ion 2.0.|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |-------.|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000720| 2d 2d 0d 2d 2d 20 20 28 | 43 29 20 31 39 39 30 20 |--.-- (|C) 1990 |
|00000730| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000740| 49 6e 63 2e 0d 2d 2d 0d | 2d 2d 20 20 41 70 70 6c |Inc..--.|-- Appl|
|00000750| 65 2c 20 54 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |e, The A|pple log|
|00000760| 6f 2c 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 48 79 |o, Macin|tosh, Hy|
|00000770| 70 65 72 43 61 72 64 0d | 2d 2d 20 20 61 72 65 20 |perCard.|-- are |
|00000780| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000790| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|000007a0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 2d 2d |omputer,| Inc..--|
|000007b0| 0d 2d 2d 20 20 54 68 69 | 73 20 73 6f 66 74 77 61 |.-- Thi|s softwa|
|000007c0| 72 65 20 6d 61 79 20 6e | 6f 74 20 62 65 20 63 6f |re may n|ot be co|
|000007d0| 70 69 65 64 20 77 69 74 | 68 6f 75 74 20 74 68 65 |pied wit|hout the|
|000007e0| 0d 2d 2d 20 20 65 78 70 | 72 65 73 73 20 77 72 69 |.-- exp|ress wri|
|000007f0| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000800| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000810| 72 2c 20 49 6e 63 2e 0d | 2d 2d 20 20 41 6c 6c 20 |r, Inc..|-- All |
|00000820| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000830| 0d 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.--.----|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 6f 6e 20 63 |--------|---.on c|
|00000880| 6f 6e 66 69 72 6d 4f 70 | 74 69 6f 6e 73 0d 70 75 |onfirmOp|tions.pu|
|00000890| 74 20 22 59 6f 75 20 68 | 61 76 65 6e d5 74 20 6c |t "You h|aven.t l|
|000008a0| 65 61 72 6e 65 64 20 61 | 62 6f 75 74 20 74 68 69 |earned a|bout thi|
|000008b0| 73 20 62 75 74 74 6f 6e | 20 79 65 74 2e 22 20 69 |s button| yet." i|
|000008c0| 6e 74 6f 20 71 75 65 73 | 74 69 6f 6e 0d 70 75 74 |nto ques|tion.put|
|000008d0| 20 72 65 74 75 72 6e 26 | 22 49 74 20 62 72 69 6e | return&|"It brin|
|000008e0| 67 73 20 75 70 20 53 74 | 75 64 65 6e 74 20 53 65 |gs up St|udent Se|
|000008f0| 72 76 69 63 65 73 2e 22 | 20 61 66 74 65 72 20 71 |rvices."| after q|
|00000900| 75 65 73 74 69 6f 6e 0d | 61 6e 73 77 65 72 20 71 |uestion.|answer q|
|00000910| 75 65 73 74 69 6f 6e 20 | 77 69 74 68 20 22 47 6f |uestion |with "Go|
|00000920| 20 74 6f 20 53 65 72 76 | 69 63 65 73 22 20 6f 72 | to Serv|ices" or|
|00000930| 20 20 22 53 74 61 79 20 | 68 65 72 65 22 0d 69 66 | "Stay |here".if|
|00000940| 20 69 74 20 3c 3e 20 22 | 53 74 61 79 20 68 65 72 | it <> "|Stay her|
|00000950| 65 22 20 74 68 65 6e 0d | 6f 70 74 69 6f 6e 73 0d |e" then.|options.|
|00000960| 65 6e 64 20 69 66 0d 65 | 6e 64 20 63 6f 6e 66 69 |end if.e|nd confi|
|00000970| 72 6d 4f 70 74 69 6f 6e | 73 0d 0d 6f 6e 20 68 61 |rmOption|s..on ha|
|00000980| 76 65 6e 74 50 6c 61 79 | 65 64 49 74 0d 67 6c 6f |ventPlay|edIt.glo|
|00000990| 62 61 6c 20 70 6c 61 79 | 65 64 49 74 0d 70 75 74 |bal play|edIt.put|
|000009a0| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 70 6c 61 79 | false i|nto play|
|000009b0| 65 64 49 74 0d 65 6e 64 | 20 68 61 76 65 6e 74 50 |edIt.end| haventP|
|000009c0| 6c 61 79 65 64 49 74 0d | 0d 6f 6e 20 63 68 65 63 |layedIt.|.on chec|
|000009d0| 6b 50 6c 61 79 65 64 49 | 74 20 73 6f 75 6e 64 54 |kPlayedI|t soundT|
|000009e0| 6f 50 6c 61 79 0d 67 6c | 6f 62 61 6c 20 70 6c 61 |oPlay.gl|obal pla|
|000009f0| 79 65 64 49 74 0d 69 66 | 20 6e 6f 74 20 70 6c 61 |yedIt.if| not pla|
|00000a00| 79 65 64 49 74 20 74 68 | 65 6e 0d 73 65 74 20 63 |yedIt th|en.set c|
|00000a10| 75 72 73 6f 72 20 74 6f | 20 6e 6f 6e 65 0d 77 61 |ursor to| none.wa|
|00000a20| 69 74 20 31 20 73 65 63 | 6f 6e 64 0d 69 66 20 73 |it 1 sec|ond.if s|
|00000a30| 6f 75 6e 64 54 6f 50 6c | 61 79 20 3d 20 22 63 6f |oundToPl|ay = "co|
|00000a40| 6d 70 6c 65 74 65 64 53 | 74 65 70 73 22 20 74 68 |mpletedS|teps" th|
|00000a50| 65 6e 0d 66 70 6c 61 79 | 20 22 63 6f 6d 70 6c 65 |en.fplay| "comple|
|00000a60| 74 65 64 53 74 65 70 73 | 22 0d 77 61 69 74 20 75 |tedSteps|".wait u|
|00000a70| 6e 74 69 6c 20 46 73 6f | 75 6e 64 28 29 20 69 73 |ntil Fso|und() is|
|00000a80| 20 22 64 6f 6e 65 22 0d | 66 70 6c 61 79 20 22 63 | "done".|fplay "c|
|00000a90| 6c 69 63 6b 52 69 67 68 | 74 41 72 72 6f 77 22 0d |lickRigh|tArrow".|
|00000aa0| 65 6c 73 65 0d 66 70 6c | 61 79 20 22 63 6c 69 63 |else.fpl|ay "clic|
|00000ab0| 6b 52 69 67 68 74 41 72 | 72 6f 77 22 0d 65 6e 64 |kRightAr|row".end|
|00000ac0| 20 69 66 0d 70 75 74 20 | 22 74 72 75 65 22 20 69 | if.put |"true" i|
|00000ad0| 6e 74 6f 20 70 6c 61 79 | 65 64 49 74 0d 77 61 69 |nto play|edIt.wai|
|00000ae0| 74 20 75 6e 74 69 6c 20 | 46 73 6f 75 6e 64 28 29 |t until |Fsound()|
|00000af0| 20 69 73 20 22 64 6f 6e | 65 22 0d 65 6e 64 20 69 | is "don|e".end i|
|00000b00| 66 0d 65 6e 64 20 63 68 | 65 63 6b 50 6c 61 79 65 |f.end ch|eckPlaye|
|00000b10| 64 49 74 0d 0d 6f 6e 20 | 70 6c 61 79 53 63 65 6e |dIt..on |playScen|
|00000b20| 65 20 73 63 65 6e 65 4e | 75 6d 62 65 72 0d 67 6c |e sceneN|umber.gl|
|00000b30| 6f 62 61 6c 20 67 44 69 | 73 63 53 69 64 65 0d 69 |obal gDi|scSide.i|
|00000b40| 66 20 67 44 69 73 63 53 | 69 64 65 20 3c 3e 20 22 |f gDiscS|ide <> "|
|00000b50| 6e 6f 6e 65 22 20 74 68 | 65 6e 0d 70 61 73 73 20 |none" th|en.pass |
|00000b60| 70 6c 61 79 53 63 65 6e | 65 0d 65 6e 64 20 69 66 |playScen|e.end if|
|00000b70| 0d 65 6e 64 20 70 6c 61 | 79 53 63 65 6e 65 0d 0d |.end pla|yScene..|
|00000b80| 6f 6e 20 67 6f 55 70 0d | 69 66 20 63 6f 6e 66 69 |on goUp.|if confi|
|00000b90| 72 6d 45 78 69 74 28 29 | 20 74 68 65 6e 0d 76 69 |rmExit()| then.vi|
|00000ba0| 73 75 61 6c 20 69 72 69 | 73 20 63 6c 6f 73 65 20 |sual iri|s close |
|00000bb0| 73 6c 6f 77 6c 79 20 74 | 6f 20 63 61 72 64 0d 67 |slowly t|o card.g|
|00000bc0| 6f 20 74 6f 20 63 64 20 | 22 4d 46 48 6f 6d 65 22 |o to cd |"MFHome"|
|00000bd0| 20 6f 66 20 22 48 6f 6d | 65 22 0d 65 6e 64 20 69 | of "Hom|e".end i|
|00000be0| 66 0d 65 6e 64 20 67 6f | 55 70 0d 6f 6e 20 67 6f |f.end go|Up.on go|
|00000bf0| 50 61 6e 69 63 0d 69 66 | 20 63 6f 6e 66 69 72 6d |Panic.if| confirm|
|00000c00| 45 78 69 74 28 29 20 74 | 68 65 6e 0d 76 69 73 75 |Exit() t|hen.visu|
|00000c10| 61 6c 20 69 72 69 73 20 | 63 6c 6f 73 65 20 73 6c |al iris |close sl|
|00000c20| 6f 77 6c 79 20 74 6f 20 | 63 61 72 64 0d 67 6f 20 |owly to |card.go |
|00000c30| 74 6f 20 63 64 20 22 4d | 46 48 6f 6d 65 22 20 6f |to cd "M|FHome" o|
|00000c40| 66 20 22 48 6f 6d 65 22 | 0d 65 6e 64 20 69 66 0d |f "Home"|.end if.|
|00000c50| 65 6e 64 20 67 6f 50 61 | 6e 69 63 0d 0d 66 75 6e |end goPa|nic..fun|
|00000c60| 63 74 69 6f 6e 20 63 6f | 6e 66 69 72 6d 45 78 69 |ction co|nfirmExi|
|00000c70| 74 0d 70 75 74 20 22 59 | 6f 75 20 68 61 76 65 20 |t.put "Y|ou have |
|00000c80| 6e 6f 74 20 63 6f 6d 70 | 6c 65 74 65 64 20 74 68 |not comp|leted th|
|00000c90| 69 73 20 6f 72 69 65 6e | 74 61 74 69 6f 6e 2e 22 |is orien|tation."|
|00000ca0| 20 69 6e 74 6f 20 71 75 | 65 73 74 69 6f 6e 0d 70 | into qu|estion.p|
|00000cb0| 75 74 20 72 65 74 75 72 | 6e 26 22 41 72 65 20 79 |ut retur|n&"Are y|
|00000cc0| 6f 75 20 73 75 72 65 20 | 79 6f 75 20 77 61 6e 74 |ou sure |you want|
|00000cd0| 20 74 6f 20 6c 65 61 76 | 65 3f 22 20 61 66 74 65 | to leav|e?" afte|
|00000ce0| 72 20 71 75 65 73 74 69 | 6f 6e 0d 61 6e 73 77 65 |r questi|on.answe|
|00000cf0| 72 20 71 75 65 73 74 69 | 6f 6e 20 77 69 74 68 20 |r questi|on with |
|00000d00| 22 47 6f 20 74 6f 20 43 | 6f 75 72 73 65 22 20 6f |"Go to C|ourse" o|
|00000d10| 72 20 22 53 74 61 79 20 | 68 65 72 65 22 0d 69 66 |r "Stay |here".if|
|00000d20| 20 69 74 20 3d 20 22 53 | 74 61 79 20 68 65 72 65 | it = "S|tay here|
|00000d30| 22 20 74 68 65 6e 0d 72 | 65 74 75 72 6e 20 66 61 |" then.r|eturn fa|
|00000d40| 6c 73 65 0d 65 6c 73 65 | 0d 72 65 74 75 72 6e 20 |lse.else|.return |
|00000d50| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |true.end| if.end |
|00000d60| 63 6f 6e 66 69 72 6d 45 | 78 69 74 0d 0d 6f 6e 20 |confirmE|xit..on |
|00000d70| 66 75 6e 63 74 69 6f 6e | 4b 65 79 20 77 68 61 74 |function|Key what|
|00000d80| 4b 65 79 0d 69 66 20 77 | 68 61 74 4b 65 79 20 69 |Key.if w|hatKey i|
|00000d90| 73 20 39 20 74 68 65 6e | 0d 6c 66 0d 65 6c 73 65 |s 9 then|.lf.else|
|00000da0| 20 69 66 20 77 68 61 74 | 4b 65 79 20 69 73 20 31 | if what|Key is 1|
|00000db0| 30 20 74 68 65 6e 0d 6c | 74 0d 65 6c 73 65 20 69 |0 then.l|t.else i|
|00000dc0| 66 20 77 68 61 74 4b 65 | 79 20 69 73 20 35 20 74 |f whatKe|y is 5 t|
|00000dd0| 68 65 6e 0d 6f 74 78 74 | 0d 65 6c 73 65 20 69 66 |hen.otxt|.else if|
|00000de0| 20 77 68 61 74 4b 65 79 | 20 69 73 20 36 20 74 68 | whatKey| is 6 th|
|00000df0| 65 6e 0d 63 74 78 74 0d | 65 6e 64 20 69 66 0d 65 |en.ctxt.|end if.e|
|00000e00| 6e 64 20 66 75 6e 63 74 | 69 6f 6e 4b 65 79 0d 0d |nd funct|ionKey..|
|00000e10| 6f 6e 20 67 6f 50 72 65 | 76 20 63 61 72 64 4e 61 |on goPre|v cardNa|
|00000e20| 6d 65 0d 76 69 73 75 61 | 6c 20 77 69 70 65 20 72 |me.visua|l wipe r|
|00000e30| 69 67 68 74 20 74 6f 20 | 63 61 72 64 0d 69 66 20 |ight to |card.if |
|00000e40| 63 61 72 64 4e 61 6d 65 | 20 69 73 20 65 6d 70 74 |cardName| is empt|
|00000e50| 79 20 74 68 65 6e 0d 67 | 6f 20 70 72 65 76 0d 65 |y then.g|o prev.e|
|00000e60| 6c 73 65 0d 67 6f 20 63 | 61 72 64 20 63 61 72 64 |lse.go c|ard card|
|00000e70| 4e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 6f 70 65 6e |Name.end| if.open|
|00000e80| 41 63 74 69 6f 6e 0d 65 | 6e 64 20 67 6f 50 72 65 |Action.e|nd goPre|
|00000e90| 76 0d 0d 0d 0d 2d 2d 7c | 7c 7c 2d 2d 20 53 54 41 |v....--||||-- STA|
|00000ea0| 4e 44 41 52 44 20 53 54 | 41 43 4b 20 53 43 52 49 |NDARD ST|ACK SCRI|
|00000eb0| 50 54 53 20 53 54 41 52 | 54 20 2d 2d 7c 7c 7c 2d |PTS STAR|T --|||-|
|00000ec0| 2d 0d 2d 2d 20 66 65 62 | 20 32 38 2c 20 31 39 39 |-.-- feb| 28, 199|
|00000ed0| 30 0d 0d 2d 2d 2d 2d 7c | 20 56 49 44 45 4f 20 53 |0..----|| VIDEO S|
|00000ee0| 43 52 49 50 54 20 76 65 | 72 73 69 6f 6e 20 38 0d |CRIPT ve|rsion 8.|
|00000ef0| 0d 6f 6e 20 69 64 6c 65 | 0d 69 64 6c 65 56 69 64 |.on idle|.idleVid|
|00000f00| 65 6f 43 6f 6e 74 72 6f | 6c 6c 65 72 0d 70 61 73 |eoContro|ller.pas|
|00000f10| 73 20 69 64 6c 65 0d 65 | 6e 64 20 69 64 6c 65 0d |s idle.e|nd idle.|
|00000f20| 0d 6f 6e 20 67 6f 56 69 | 64 65 6f 53 65 74 75 70 |.on goVi|deoSetup|
|00000f30| 0d 76 69 73 75 61 6c 20 | 69 72 69 73 20 6f 70 65 |.visual |iris ope|
|00000f40| 6e 0d 70 75 73 68 20 63 | 61 72 64 0d 67 6f 20 63 |n.push c|ard.go c|
|00000f50| 61 72 64 20 22 56 69 64 | 65 6f 64 69 73 63 20 53 |ard "Vid|eodisc S|
|00000f60| 65 74 75 70 22 20 6f 66 | 20 73 74 61 63 6b 20 22 |etup" of| stack "|
|00000f70| 48 6f 6d 65 22 0d 65 6e | 64 20 67 6f 56 69 64 65 |Home".en|d goVide|
|00000f80| 6f 53 65 74 75 70 0d 0d | 6f 6e 20 73 74 65 70 56 |oSetup..|on stepV|
|00000f90| 69 64 65 6f 42 6f 75 6e | 64 20 64 69 72 2c 20 62 |ideoBoun|d dir, b|
|00000fa0| 6f 75 6e 64 46 72 61 6d | 65 0d 69 66 20 64 69 72 |oundFram|e.if dir|
|00000fb0| 20 2a 20 76 69 64 65 6f | 46 72 61 6d 65 28 29 20 | * video|Frame() |
|00000fc0| 3e 3d 20 64 69 72 20 2a | 20 62 6f 75 6e 64 46 72 |>= dir *| boundFr|
|00000fd0| 61 6d 65 20 74 68 65 6e | 0d 73 65 61 72 63 68 56 |ame then|.searchV|
|00000fe0| 69 64 65 6f 20 62 6f 75 | 6e 64 46 72 61 6d 65 0d |ideo bou|ndFrame.|
|00000ff0| 62 65 65 70 0d 65 6c 73 | 65 0d 73 74 65 70 56 69 |beep.els|e.stepVi|
|00001000| 64 65 6f 20 64 69 72 0d | 65 6e 64 20 69 66 0d 65 |deo dir.|end if.e|
|00001010| 6e 64 20 73 74 65 70 56 | 69 64 65 6f 42 6f 75 6e |nd stepV|ideoBoun|
|00001020| 64 0d 0d 6f 6e 20 6d 61 | 6b 65 56 69 64 65 6f 43 |d..on ma|keVideoC|
|00001030| 6f 6e 74 72 6f 6c 6c 65 | 72 0d 67 6c 6f 62 61 6c |ontrolle|r.global|
|00001040| 20 67 43 6f 6e 74 72 6f | 6c 43 6c 69 63 6b 0d 70 | gContro|lClick.p|
|00001050| 75 74 20 30 20 69 6e 74 | 6f 20 67 43 6f 6e 74 72 |ut 0 int|o gContr|
|00001060| 6f 6c 43 6c 69 63 6b 0d | 69 66 20 74 68 65 20 6e |olClick.|if the n|
|00001070| 75 6d 62 65 72 20 6f 66 | 20 63 64 20 66 6c 64 73 |umber of| cd flds|
|00001080| 20 3e 20 30 20 74 68 65 | 6e 0d 69 66 20 66 69 6e | > 0 the|n.if fin|
|00001090| 64 46 69 65 6c 64 28 22 | 56 69 64 65 6f 20 43 6f |dField("|Video Co|
|000010a0| 6e 74 72 6f 6c 6c 65 72 | 22 29 20 69 73 20 6e 6f |ntroller|") is no|
|000010b0| 74 20 66 61 6c 73 65 20 | 74 68 65 6e 0d 73 68 6f |t false |then.sho|
|000010c0| 77 20 63 64 20 66 6c 64 | 20 22 56 69 64 65 6f 20 |w cd fld| "Video |
|000010d0| 43 6f 6e 74 72 6f 6c 6c | 65 72 22 0d 65 78 69 74 |Controll|er".exit|
|000010e0| 20 6d 61 6b 65 56 69 64 | 65 6f 43 6f 6e 74 72 6f | makeVid|eoContro|
|000010f0| 6c 6c 65 72 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ller.end| if.end |
|00001100| 69 66 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 70 |if.lock |screen.p|
|00001110| 75 74 20 6d 61 6b 65 4c | 69 6e 65 73 28 20 c2 0d |ut makeL|ines( ..|
|00001120| 22 b1 b1 b1 b1 b1 b1 b1 | b1 22 2c 20 c2 0d 22 50 |".......|.", .."P|
|00001130| 61 75 73 65 22 2c 20 c2 | 0d 22 50 6c 61 79 22 2c |ause", .|."Play",|
|00001140| 20 c2 0d 22 46 61 73 74 | 20 46 77 64 22 2c 20 c2 | .."Fast| Fwd", .|
|00001150| 0d 22 46 61 73 74 20 52 | 65 76 22 2c c2 0d 22 53 |."Fast R|ev",.."S|
|00001160| 74 65 70 20 46 77 64 22 | 2c 20 c2 0d 22 53 74 65 |tep Fwd"|, .."Ste|
|00001170| 70 20 52 65 76 22 2c 20 | c2 0d 22 51 75 69 74 22 |p Rev", |.."Quit"|
|00001180| 2c 20 22 30 3a 30 30 22 | 29 20 69 6e 74 6f 20 6d |, "0:00"|) into m|
|00001190| 65 6e 75 4c 69 73 74 0d | 6d 61 6b 65 43 61 72 64 |enuList.|makeCard|
|000011a0| 46 69 65 6c 64 20 6e 61 | 6d 65 2c 20 22 56 69 64 |Field na|me, "Vid|
|000011b0| 65 6f 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 22 2c 20 |eo Contr|oller", |
|000011c0| c2 0d 77 69 64 74 68 2c | 20 38 32 2c 20 68 65 69 |..width,| 82, hei|
|000011d0| 67 68 74 2c 31 35 34 2c | 20 c2 0d 74 6f 70 4c 65 |ght,154,| ..topLe|
|000011e0| 66 74 2c 20 22 32 36 34 | 2c 31 36 36 22 2c c2 0d |ft, "264|,166",..|
|000011f0| 6c 6f 63 6b 54 65 78 74 | 2c 20 74 72 75 65 2c 20 |lockText|, true, |
|00001200| 74 65 78 74 46 6f 6e 74 | 2c 20 22 62 74 6e 65 72 |textFont|, "btner|
|00001210| 61 73 20 64 65 6d 69 22 | 2c 20 c2 0d 74 65 78 74 |as demi"|, ..text|
|00001220| 53 69 7a 65 2c 31 32 2c | 73 74 79 6c 65 2c 20 22 |Size,12,|style, "|
|00001230| 73 68 61 64 6f 77 22 2c | 20 74 65 78 74 61 6c 69 |shadow",| textali|
|00001240| 67 6e 2c 20 63 65 6e 74 | 65 72 2c 20 77 69 64 65 |gn, cent|er, wide|
|00001250| 4d 61 72 67 69 6e 73 2c | 74 72 75 65 0d 70 75 74 |Margins,|true.put|
|00001260| 20 6d 65 6e 75 4c 69 73 | 74 20 69 6e 74 6f 20 63 | menuLis|t into c|
|00001270| 64 20 66 6c 64 20 22 56 | 69 64 65 6f 20 43 6f 6e |d fld "V|ideo Con|
|00001280| 74 72 6f 6c 6c 65 72 22 | 0d 73 65 74 20 73 63 72 |troller"|.set scr|
|00001290| 69 70 74 20 6f 66 20 63 | 64 20 66 6c 64 20 22 56 |ipt of c|d fld "V|
|000012a0| 69 64 65 6f 20 43 6f 6e | 74 72 6f 6c 6c 65 72 22 |ideo Con|troller"|
|000012b0| 20 74 6f 20 c2 0d 6d 61 | 6b 65 4c 69 6e 65 73 28 | to ..ma|keLines(|
|000012c0| 22 6f 6e 20 6d 6f 75 73 | 65 44 6f 77 6e 22 2c 20 |"on mous|eDown", |
|000012d0| 22 76 69 64 65 6f 43 6f | 6e 74 72 6f 6c 6c 65 72 |"videoCo|ntroller|
|000012e0| 22 2c 20 22 65 6e 64 20 | 6d 6f 75 73 65 44 6f 77 |", "end |mouseDow|
|000012f0| 6e 22 2c 20 c2 0d 22 6f | 6e 20 6d 6f 75 73 65 55 |n", .."o|n mouseU|
|00001300| 70 22 2c 20 22 65 6e 64 | 20 6d 6f 75 73 65 55 70 |p", "end| mouseUp|
|00001310| 22 20 29 0d 63 68 6f 6f | 73 65 20 62 72 6f 77 73 |" ).choo|se brows|
|00001320| 65 20 74 6f 6f 6c 0d 75 | 6e 6c 6f 63 6b 20 73 63 |e tool.u|nlock sc|
|00001330| 72 65 65 6e 0d 65 6e 64 | 20 6d 61 6b 65 56 69 64 |reen.end| makeVid|
|00001340| 65 6f 43 6f 6e 74 72 6f | 6c 6c 65 72 0d 0d 6f 6e |eoContro|ller..on|
|00001350| 20 76 69 64 65 6f 43 6f | 6e 74 72 6f 6c 6c 65 72 | videoCo|ntroller|
|00001360| 0d 67 6c 6f 62 61 6c 20 | 67 56 69 64 65 6f 46 69 |.global |gVideoFi|
|00001370| 72 73 74 46 72 61 6d 65 | 2c 20 67 56 69 64 65 6f |rstFrame|, gVideo|
|00001380| 4c 61 73 74 46 72 61 6d | 65 2c 20 67 56 69 64 65 |LastFram|e, gVide|
|00001390| 6f 4c 61 73 74 43 6f 6d | 6d 61 6e 64 0d 67 6c 6f |oLastCom|mand.glo|
|000013a0| 62 61 6c 20 47 76 69 64 | 65 6f 54 79 70 65 0d 70 |bal Gvid|eoType.p|
|000013b0| 75 74 20 63 6c 69 63 6b | 4c 69 6e 65 56 69 64 65 |ut click|LineVide|
|000013c0| 6f 28 29 20 69 6e 74 6f | 20 6c 69 6e 65 4e 75 6d |o() into| lineNum|
|000013d0| 0d 70 75 74 20 6c 69 6e | 65 20 6c 69 6e 65 4e 75 |.put lin|e lineNu|
|000013e0| 6d 20 6f 66 20 63 64 20 | 66 6c 64 20 22 76 69 64 |m of cd |fld "vid|
|000013f0| 65 6f 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 22 20 69 |eo contr|oller" i|
|00001400| 6e 74 6f 20 63 6d 64 4e | 61 6d 65 0d 69 66 20 6c |nto cmdN|ame.if l|
|00001410| 69 6e 65 4e 75 6d 20 3e | 20 31 20 74 68 65 6e 0d |ineNum >| 1 then.|
|00001420| 70 75 74 20 63 6d 64 4e | 61 6d 65 20 69 6e 74 6f |put cmdN|ame into|
|00001430| 20 67 56 69 64 65 6f 4c | 61 73 74 43 6f 6d 6d 61 | gVideoL|astComma|
|00001440| 6e 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 63 6d 64 |nd.end i|f.if cmd|
|00001450| 4e 61 6d 65 20 69 73 20 | 22 50 61 75 73 65 22 20 |Name is |"Pause" |
|00001460| 74 68 65 6e 0d 73 74 6f | 70 56 69 64 65 6f 0d 65 |then.sto|pVideo.e|
|00001470| 6c 73 65 20 69 66 20 63 | 6d 64 4e 61 6d 65 20 69 |lse if c|mdName i|
|00001480| 73 20 22 50 6c 61 79 22 | 20 74 68 65 6e 0d 69 66 |s "Play"| then.if|
|00001490| 20 76 69 64 65 6f 46 72 | 61 6d 65 28 29 20 3c 20 | videoFr|ame() < |
|000014a0| 67 56 69 64 65 6f 4c 61 | 73 74 46 72 61 6d 65 20 |gVideoLa|stFrame |
|000014b0| 74 68 65 6e 0d 70 6c 61 | 79 56 69 64 65 6f 20 22 |then.pla|yVideo "|
|000014c0| 68 65 72 65 22 2c 20 67 | 56 69 64 65 6f 4c 61 73 |here", g|VideoLas|
|000014d0| 74 46 72 61 6d 65 0d 65 | 6c 73 65 0d 73 65 61 72 |tFrame.e|lse.sear|
|000014e0| 63 68 56 69 64 65 6f 20 | 67 56 69 64 65 6f 4c 61 |chVideo |gVideoLa|
|000014f0| 73 74 46 72 61 6d 65 0d | 65 6e 64 20 69 66 0d 65 |stFrame.|end if.e|
|00001500| 6c 73 65 20 69 66 20 63 | 6d 64 4e 61 6d 65 20 69 |lse if c|mdName i|
|00001510| 73 20 22 46 61 73 74 20 | 46 77 64 22 20 74 68 65 |s "Fast |Fwd" the|
|00001520| 6e 0d 66 61 73 74 56 69 | 64 65 6f 42 6f 75 6e 64 |n.fastVi|deoBound|
|00001530| 20 31 2c 20 67 56 69 64 | 65 6f 4c 61 73 74 46 72 | 1, gVid|eoLastFr|
|00001540| 61 6d 65 0d 65 6c 73 65 | 20 69 66 20 63 6d 64 4e |ame.else| if cmdN|
|00001550| 61 6d 65 20 69 73 20 22 | 46 61 73 74 20 52 65 76 |ame is "|Fast Rev|
|00001560| 22 20 74 68 65 6e 0d 66 | 61 73 74 56 69 64 65 6f |" then.f|astVideo|
|00001570| 42 6f 75 6e 64 20 2d 31 | 2c 20 67 56 69 64 65 6f |Bound -1|, gVideo|
|00001580| 46 69 72 73 74 46 72 61 | 6d 65 0d 65 6c 73 65 20 |FirstFra|me.else |
|00001590| 69 66 20 63 6d 64 4e 61 | 6d 65 20 69 73 20 22 53 |if cmdNa|me is "S|
|000015a0| 74 65 70 20 46 77 64 22 | 20 74 68 65 6e 0d 73 74 |tep Fwd"| then.st|
|000015b0| 65 70 56 69 64 65 6f 42 | 6f 75 6e 64 20 31 2c 20 |epVideoB|ound 1, |
|000015c0| 67 56 69 64 65 6f 4c 61 | 73 74 46 72 61 6d 65 0d |gVideoLa|stFrame.|
|000015d0| 65 6c 73 65 20 69 66 20 | 63 6d 64 4e 61 6d 65 20 |else if |cmdName |
|000015e0| 69 73 20 22 53 74 65 70 | 20 52 65 76 22 20 74 68 |is "Step| Rev" th|
|000015f0| 65 6e 0d 73 74 65 70 56 | 69 64 65 6f 42 6f 75 6e |en.stepV|ideoBoun|
|00001600| 64 20 2d 31 2c 20 67 56 | 69 64 65 6f 46 69 72 73 |d -1, gV|ideoFirs|
|00001610| 74 46 72 61 6d 65 0d 65 | 6c 73 65 20 69 66 20 6c |tFrame.e|lse if l|
|00001620| 69 6e 65 4e 75 6d 20 3d | 20 31 20 74 68 65 6e 0d |ineNum =| 1 then.|
|00001630| 64 72 61 67 54 61 72 67 | 0d 65 6c 73 65 20 69 66 |dragTarg|.else if|
|00001640| 20 63 6d 64 4e 61 6d 65 | 20 69 73 20 22 51 75 69 | cmdName| is "Qui|
|00001650| 74 22 20 74 68 65 6e 0d | 64 65 6c 65 74 65 56 69 |t" then.|deleteVi|
|00001660| 64 65 6f 43 6f 6e 74 72 | 6f 6c 6c 65 72 0d 65 6e |deoContr|oller.en|
|00001670| 64 20 69 66 0d 65 6e 64 | 20 76 69 64 65 6f 43 6f |d if.end| videoCo|
|00001680| 6e 74 72 6f 6c 6c 65 72 | 0d 0d 66 75 6e 63 74 69 |ntroller|..functi|
|00001690| 6f 6e 20 63 6c 69 63 6b | 4c 69 6e 65 56 69 64 65 |on click|LineVide|
|000016a0| 6f 0d 2d 2d 20 4e 4f 54 | 45 3a 20 63 6f 6e 74 72 |o.-- NOT|E: contr|
|000016b0| 6f 6c 6c 65 72 20 70 61 | 72 61 6d 65 74 65 72 73 |oller pa|rameters|
|000016c0| 20 61 72 65 20 68 61 72 | 64 2d 63 6f 64 65 64 20 | are har|d-coded |
|000016d0| 68 65 72 65 20 66 6f 72 | 20 73 70 65 65 64 2e 20 |here for| speed. |
|000016e0| 6d 77 0d 70 75 74 20 74 | 68 65 20 74 6f 70 20 6f |mw.put t|he top o|
|000016f0| 66 20 63 64 20 66 6c 64 | 20 22 76 69 64 65 6f 20 |f cd fld| "video |
|00001700| 63 6f 6e 74 72 6f 6c 6c | 65 72 22 20 69 6e 74 6f |controll|er" into|
|00001710| 20 63 6f 6e 74 72 6f 6c | 54 6f 70 0d 72 65 74 75 | control|Top.retu|
|00001720| 72 6e 20 74 72 75 6e 63 | 28 28 69 74 65 6d 20 32 |rn trunc|((item 2|
|00001730| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 | of the |mouseLoc|
|00001740| 20 2d 20 63 6f 6e 74 72 | 6f 6c 54 6f 70 29 20 2f | - contr|olTop) /|
|00001750| 20 31 36 29 20 2b 20 31 | 0d 65 6e 64 20 63 6c 69 | 16) + 1|.end cli|
|00001760| 63 6b 4c 69 6e 65 56 69 | 64 65 6f 0d 0d 6f 6e 20 |ckLineVi|deo..on |
|00001770| 66 61 73 74 56 69 64 65 | 6f 42 6f 75 6e 64 20 64 |fastVide|oBound d|
|00001780| 69 72 2c 20 62 6f 75 6e | 64 46 72 61 6d 65 0d 67 |ir, boun|dFrame.g|
|00001790| 6c 6f 62 61 6c 20 67 56 | 69 64 65 6f 4c 61 73 74 |lobal gV|ideoLast|
|000017a0| 46 72 61 6d 65 2c 20 67 | 54 69 6d 65 52 65 6d 61 |Frame, g|TimeRema|
|000017b0| 69 6e 69 6e 67 2c 20 67 | 56 69 64 65 6f 4c 61 73 |ining, g|VideoLas|
|000017c0| 74 43 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 76 69 64 |tCommand|.put vid|
|000017d0| 65 6f 53 74 61 74 75 73 | 28 29 20 69 6e 74 6f 20 |eoStatus|() into |
|000017e0| 63 75 72 53 74 61 74 0d | 76 69 64 65 6f 46 72 61 |curStat.|videoFra|
|000017f0| 6d 65 73 50 65 72 53 65 | 63 6f 6e 64 20 22 66 61 |mesPerSe|cond "fa|
|00001800| 73 74 22 0d 70 75 74 20 | 76 69 64 65 6f 46 72 61 |st".put |videoFra|
|00001810| 6d 65 28 29 20 69 6e 74 | 6f 20 63 75 72 46 72 61 |me() int|o curFra|
|00001820| 6d 65 0d 69 66 20 64 69 | 72 20 2a 20 63 75 72 46 |me.if di|r * curF|
|00001830| 72 61 6d 65 20 3c 20 64 | 69 72 20 2a 20 62 6f 75 |rame < d|ir * bou|
|00001840| 6e 64 46 72 61 6d 65 20 | 74 68 65 6e 0d 2d 2d 20 |ndFrame |then.-- |
|00001850| 70 6c 61 79 65 72 20 62 | 75 67 20 3d 20 2d 3e 20 |player b|ug = -> |
|00001860| 66 6f 72 77 61 72 64 0d | 70 6c 61 79 56 69 64 65 |forward.|playVide|
|00001870| 6f 20 63 75 72 46 72 61 | 6d 65 2c 20 62 6f 75 6e |o curFra|me, boun|
|00001880| 64 46 72 61 6d 65 0d 72 | 65 70 65 61 74 20 77 68 |dFrame.r|epeat wh|
|00001890| 69 6c 65 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |ile the |mouse is|
|000018a0| 20 64 6f 77 6e 0d 75 70 | 64 61 74 65 56 69 64 65 | down.up|dateVide|
|000018b0| 6f 54 69 6d 65 0d 65 6e | 64 20 72 65 70 65 61 74 |oTime.en|d repeat|
|000018c0| 0d 65 6e 64 20 69 66 0d | 69 66 20 69 74 65 6d 20 |.end if.|if item |
|000018d0| 31 20 6f 66 20 63 75 72 | 53 74 61 74 20 69 73 20 |1 of cur|Stat is |
|000018e0| 22 70 6c 61 79 22 20 74 | 68 65 6e 0d 69 66 20 76 |"play" t|hen.if v|
|000018f0| 69 64 65 6f 46 72 61 6d | 65 28 29 20 3c 20 67 56 |ideoFram|e() < gV|
|00001900| 69 64 65 6f 4c 61 73 74 | 46 72 61 6d 65 20 74 68 |ideoLast|Frame th|
|00001910| 65 6e 0d 70 75 74 20 22 | 70 6c 61 79 22 20 69 6e |en.put "|play" in|
|00001920| 74 6f 20 67 56 69 64 65 | 6f 4c 61 73 74 43 6f 6d |to gVide|oLastCom|
|00001930| 6d 61 6e 64 0d 70 6c 61 | 79 56 69 64 65 6f 20 22 |mand.pla|yVideo "|
|00001940| 68 65 72 65 22 2c 20 67 | 56 69 64 65 6f 4c 61 73 |here", g|VideoLas|
|00001950| 74 46 72 61 6d 65 0d 2d | 2d 20 77 61 69 74 46 6f |tFrame.-|- waitFo|
|00001960| 72 4d 6f 75 73 65 43 6c | 69 63 6b 0d 65 6e 64 20 |rMouseCl|ick.end |
|00001970| 69 66 0d 65 6c 73 65 0d | 73 74 6f 70 56 69 64 65 |if.else.|stopVide|
|00001980| 6f 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 66 61 73 |o.end if|.end fas|
|00001990| 74 56 69 64 65 6f 42 6f | 75 6e 64 0d 0d 6f 6e 20 |tVideoBo|und..on |
|000019a0| 69 64 6c 65 56 69 64 65 | 6f 43 6f 6e 74 72 6f 6c |idleVide|oControl|
|000019b0| 6c 65 72 0d 67 6c 6f 62 | 61 6c 20 67 54 69 6d 65 |ler.glob|al gTime|
|000019c0| 52 65 6d 61 69 6e 69 6e | 67 2c 20 67 56 69 64 65 |Remainin|g, gVide|
|000019d0| 6f 4c 61 73 74 43 6f 6d | 6d 61 6e 64 0d 69 66 20 |oLastCom|mand.if |
|000019e0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|000019f0| 20 66 6c 64 73 20 3e 20 | 30 20 74 68 65 6e 0d 69 | flds > |0 then.i|
|00001a00| 66 20 28 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |f (the s|hort nam|
|00001a10| 65 20 6f 66 20 6c 61 73 | 74 20 63 64 20 66 6c 64 |e of las|t cd fld|
|00001a20| 20 69 73 20 22 76 69 64 | 65 6f 20 63 6f 6e 74 72 | is "vid|eo contr|
|00001a30| 6f 6c 6c 65 72 22 29 20 | 74 68 65 6e 0d 67 6c 6f |oller") |then.glo|
|00001a40| 62 61 6c 20 67 44 69 73 | 63 53 69 64 65 0d 69 66 |bal gDis|cSide.if|
|00001a50| 20 67 44 69 73 63 53 69 | 64 65 20 3c 3e 20 22 6e | gDiscSi|de <> "n|
|00001a60| 6f 6e 65 22 20 74 68 65 | 6e 0d 75 70 64 61 74 65 |one" the|n.update|
|00001a70| 56 69 64 65 6f 54 69 6d | 65 0d 69 66 20 67 54 69 |VideoTim|e.if gTi|
|00001a80| 6d 65 52 65 6d 61 69 6e | 69 6e 67 20 b2 20 30 20 |meRemain|ing . 0 |
|00001a90| 74 68 65 6e 0d 69 66 20 | 67 56 69 64 65 6f 4c 61 |then.if |gVideoLa|
|00001aa0| 73 74 43 6f 6d 6d 61 6e | 64 20 69 73 20 22 70 6c |stComman|d is "pl|
|00001ab0| 61 79 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 56 |ay" then| deleteV|
|00001ac0| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 70 |ideoCont|roller.p|
|00001ad0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 67 54 |ut empty| into gT|
|00001ae0| 69 6d 65 52 65 6d 61 69 | 6e 69 6e 67 0d 65 6e 64 |imeRemai|ning.end|
|00001af0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00001b00| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 64 6c |f.end if|.end idl|
|00001b10| 65 56 69 64 65 6f 43 6f | 6e 74 72 6f 6c 6c 65 72 |eVideoCo|ntroller|
|00001b20| 0d 0d 6f 6e 20 77 61 69 | 74 46 6f 72 4d 6f 75 73 |..on wai|tForMous|
|00001b30| 65 43 6c 69 63 6b 0d 65 | 78 69 74 20 77 61 69 74 |eClick.e|xit wait|
|00001b40| 46 6f 72 4d 6f 75 73 65 | 43 6c 69 63 6b 0d 67 6c |ForMouse|Click.gl|
|00001b50| 6f 62 61 6c 20 67 54 69 | 6d 65 52 65 6d 61 69 6e |obal gTi|meRemain|
|00001b60| 69 6e 67 2c 20 67 43 6f | 6e 74 72 6f 6c 43 6c 69 |ing, gCo|ntrolCli|
|00001b70| 63 6b 0d 2d 2d 20 67 43 | 6f 6e 74 72 6f 6c 43 6c |ck.-- gC|ontrolCl|
|00001b80| 69 63 6b 20 63 6f 75 6e | 74 73 20 68 6f 77 20 6d |ick coun|ts how m|
|00001b90| 61 6e 79 20 74 69 6d 65 | 73 20 77 61 69 74 46 6f |any time|s waitFo|
|00001ba0| 72 4d 6f 75 73 65 43 6c | 69 63 6b 20 68 61 73 20 |rMouseCl|ick has |
|00001bb0| 62 65 65 6e 0d 2d 2d 20 | 69 6e 76 6f 6b 65 64 2e |been.-- |invoked.|
|00001bc0| 20 49 66 20 74 68 65 20 | 75 73 65 72 20 63 6c 69 | If the |user cli|
|00001bd0| 63 6b 73 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 6c |cks the |controll|
|00001be0| 65 72 20 28 64 72 61 67 | 20 6f 72 20 70 6c 61 79 |er (drag| or play|
|00001bf0| 29 20 6d 6f 72 65 0d 2d | 2d 20 74 68 61 6e 20 36 |) more.-|- than 6|
|00001c00| 20 74 69 6d 65 73 2c 20 | 74 68 65 20 76 69 64 65 | times, |the vide|
|00001c10| 6f 20 61 6e 64 20 74 68 | 65 20 63 6c 6f 63 6b 20 |o and th|e clock |
|00001c20| 77 69 6c 6c 20 73 74 6f | 70 2e 0d 2d 2d 20 49 66 |will sto|p..-- If|
|00001c30| 20 77 65 20 64 6f 6e 27 | 74 20 63 68 65 63 6b 20 | we don'|t check |
|00001c40| 74 68 69 73 2c 20 74 68 | 65 20 75 73 65 72 20 63 |this, th|e user c|
|00001c50| 6f 75 6c 64 20 67 65 74 | 20 61 20 22 74 6f 6f 20 |ould get| a "too |
|00001c60| 6d 75 63 68 20 72 65 63 | 75 72 73 69 6f 6e 22 0d |much rec|ursion".|
|00001c70| 2d 2d 20 64 69 61 6c 6f | 67 20 62 6f 78 2c 20 77 |-- dialo|g box, w|
|00001c80| 68 69 63 68 20 69 73 20 | 75 6e 61 63 63 65 70 74 |hich is |unaccept|
|00001c90| 61 62 6c 65 2e 0d 61 64 | 64 20 31 20 74 6f 20 67 |able..ad|d 1 to g|
|00001ca0| 43 6f 6e 74 72 6f 6c 43 | 6c 69 63 6b 0d 69 66 20 |ControlC|lick.if |
|00001cb0| 67 43 6f 6e 74 72 6f 6c | 43 6c 69 63 6b 20 3e 20 |gControl|Click > |
|00001cc0| 36 20 74 68 65 6e 0d 70 | 75 74 20 30 20 69 6e 74 |6 then.p|ut 0 int|
|00001cd0| 6f 20 67 43 6f 6e 74 72 | 6f 6c 43 6c 69 63 6b 0d |o gContr|olClick.|
|00001ce0| 2d 2d 70 6c 61 79 20 62 | 6f 69 6e 67 0d 73 74 6f |--play b|oing.sto|
|00001cf0| 70 56 69 64 65 6f 0d 65 | 78 69 74 20 77 61 69 74 |pVideo.e|xit wait|
|00001d00| 46 6f 72 4d 6f 75 73 65 | 43 6c 69 63 6b 0d 65 6e |ForMouse|Click.en|
|00001d10| 64 20 69 66 0d 72 65 70 | 65 61 74 20 75 6e 74 69 |d if.rep|eat unti|
|00001d20| 6c 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 64 |l the mo|use is d|
|00001d30| 6f 77 6e 0d 69 66 20 67 | 54 69 6d 65 52 65 6d 61 |own.if g|TimeRema|
|00001d40| 69 6e 69 6e 67 20 b2 20 | 30 20 74 68 65 6e 0d 64 |ining . |0 then.d|
|00001d50| 65 6c 65 74 65 56 69 64 | 65 6f 43 6f 6e 74 72 6f |eleteVid|eoContro|
|00001d60| 6c 6c 65 72 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ller.put| empty i|
|00001d70| 6e 74 6f 20 67 54 69 6d | 65 52 65 6d 61 69 6e 69 |nto gTim|eRemaini|
|00001d80| 6e 67 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |ng.exit |to Hyper|
|00001d90| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 75 70 64 61 |Card.end| if.upda|
|00001da0| 74 65 56 69 64 65 6f 54 | 69 6d 65 0d 65 6e 64 20 |teVideoT|ime.end |
|00001db0| 72 65 70 65 61 74 0d 63 | 68 65 63 6b 56 69 64 65 |repeat.c|heckVide|
|00001dc0| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 0d 65 6e 64 20 |oControl|ler.end |
|00001dd0| 77 61 69 74 46 6f 72 4d | 6f 75 73 65 43 6c 69 63 |waitForM|ouseClic|
|00001de0| 6b 0d 0d 6f 6e 20 75 70 | 64 61 74 65 56 69 64 65 |k..on up|dateVide|
|00001df0| 6f 54 69 6d 65 0d 67 6c | 6f 62 61 6c 20 47 76 69 |oTime.gl|obal Gvi|
|00001e00| 64 65 6f 4c 61 73 74 46 | 72 61 6d 65 2c 20 67 54 |deoLastF|rame, gT|
|00001e10| 69 6d 65 52 65 6d 61 69 | 6e 69 6e 67 0d 70 75 74 |imeRemai|ning.put|
|00001e20| 20 28 47 76 69 64 65 6f | 4c 61 73 74 46 72 61 6d | (Gvideo|LastFram|
|00001e30| 65 20 2d 20 76 69 64 65 | 6f 46 72 61 6d 65 28 29 |e - vide|oFrame()|
|00001e40| 20 2b 20 32 39 29 20 64 | 69 76 20 33 30 20 69 6e | + 29) d|iv 30 in|
|00001e50| 74 6f 20 67 54 69 6d 65 | 52 65 6d 61 69 6e 69 6e |to gTime|Remainin|
|00001e60| 67 0d 69 66 20 67 54 69 | 6d 65 52 65 6d 61 69 6e |g.if gTi|meRemain|
|00001e70| 69 6e 67 20 b3 20 30 20 | 61 6e 64 20 67 54 69 6d |ing . 0 |and gTim|
|00001e80| 65 52 65 6d 61 69 6e 69 | 6e 67 20 b2 20 36 30 30 |eRemaini|ng . 600|
|00001e90| 20 74 68 65 6e 0d 70 75 | 74 20 67 54 69 6d 65 52 | then.pu|t gTimeR|
|00001ea0| 65 6d 61 69 6e 69 6e 67 | 20 64 69 76 20 36 30 20 |emaining| div 60 |
|00001eb0| 26 20 22 3a 22 20 26 20 | 28 28 67 54 69 6d 65 52 |& ":" & |((gTimeR|
|00001ec0| 65 6d 61 69 6e 69 6e 67 | 20 6d 6f 64 20 36 30 29 |emaining| mod 60)|
|00001ed0| 20 64 69 76 20 31 30 29 | 20 c2 0d 26 20 28 67 54 | div 10)| ..& (gT|
|00001ee0| 69 6d 65 52 65 6d 61 69 | 6e 69 6e 67 20 6d 6f 64 |imeRemai|ning mod|
|00001ef0| 20 31 30 29 20 69 6e 74 | 6f 20 6c 61 73 74 20 6c | 10) int|o last l|
|00001f00| 69 6e 65 20 6f 66 20 63 | 64 20 66 6c 64 20 22 76 |ine of c|d fld "v|
|00001f10| 69 64 65 6f 20 63 6f 6e | 74 72 6f 6c 6c 65 72 22 |ideo con|troller"|
|00001f20| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 75 70 64 61 |.end if.|end upda|
|00001f30| 74 65 56 69 64 65 6f 54 | 69 6d 65 0d 0d 6f 6e 20 |teVideoT|ime..on |
|00001f40| 63 68 65 63 6b 56 69 64 | 65 6f 43 6f 6e 74 72 6f |checkVid|eoContro|
|00001f50| 6c 6c 65 72 0d 69 66 20 | 74 68 65 20 6d 6f 75 73 |ller.if |the mous|
|00001f60| 65 4c 6f 63 20 69 73 20 | 77 69 74 68 69 6e 20 74 |eLoc is |within t|
|00001f70| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 66 6c |he rect |of cd fl|
|00001f80| 64 20 22 76 69 64 65 6f | 20 63 6f 6e 74 72 6f 6c |d "video| control|
|00001f90| 6c 65 72 22 20 74 68 65 | 6e 0d 2d 2d 20 64 6f 20 |ler" the|n.-- do |
|00001fa0| 74 68 69 73 20 77 69 74 | 68 6f 75 74 20 72 65 63 |this wit|hout rec|
|00001fb0| 75 72 73 69 6f 6e 2c 20 | 73 6f 6d 65 68 6f 77 0d |ursion, |somehow.|
|00001fc0| 73 65 6e 64 20 76 69 64 | 65 6f 43 6f 6e 74 72 6f |send vid|eoContro|
|00001fd0| 6c 6c 65 72 20 74 6f 20 | 63 64 20 66 6c 64 20 22 |ller to |cd fld "|
|00001fe0| 76 69 64 65 6f 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |video co|ntroller|
|00001ff0| 22 0d 2d 2d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |".--exit| to Hype|
|00002000| 72 43 61 72 64 0d 65 6c | 73 65 0d 67 65 74 20 74 |rCard.el|se.get t|
|00002010| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 0d 63 6c 69 63 |he mouse|Loc.clic|
|00002020| 6b 20 61 74 20 69 74 0d | 65 78 69 74 20 74 6f 20 |k at it.|exit to |
|00002030| 48 79 70 65 72 43 61 72 | 64 0d 65 6e 64 20 69 66 |HyperCar|d.end if|
|00002040| 0d 65 6e 64 20 63 68 65 | 63 6b 56 69 64 65 6f 43 |.end che|ckVideoC|
|00002050| 6f 6e 74 72 6f 6c 6c 65 | 72 0d 0d 6f 6e 20 64 65 |ontrolle|r..on de|
|00002060| 6c 65 74 65 56 69 64 65 | 6f 43 6f 6e 74 72 6f 6c |leteVide|oControl|
|00002070| 6c 65 72 0d 67 6c 6f 62 | 61 6c 20 67 44 69 73 63 |ler.glob|al gDisc|
|00002080| 53 69 64 65 0d 69 66 20 | 67 44 69 73 63 53 69 64 |Side.if |gDiscSid|
|00002090| 65 20 3c 3e 20 22 6e 6f | 6e 65 22 20 74 68 65 6e |e <> "no|ne" then|
|000020a0| 20 73 74 6f 70 56 69 64 | 65 6f 0d 69 66 20 74 68 | stopVid|eo.if th|
|000020b0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 20 66 |e number| of cd f|
|000020c0| 6c 64 73 20 3e 20 30 20 | 74 68 65 6e 0d 69 66 20 |lds > 0 |then.if |
|000020d0| 66 69 6e 64 46 69 65 6c | 64 28 22 56 69 64 65 6f |findFiel|d("Video|
|000020e0| 20 43 6f 6e 74 72 6f 6c | 6c 65 72 22 29 20 69 73 | Control|ler") is|
|000020f0| 20 6e 6f 74 20 66 61 6c | 73 65 20 74 68 65 6e 0d | not fal|se then.|
|00002100| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00002110| 74 63 68 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |tch.lock| screen.|
|00002120| 4f 6b 44 6f 4d 65 6e 75 | 0d 73 68 6f 77 20 63 64 |OkDoMenu|.show cd|
|00002130| 20 66 6c 64 20 22 56 69 | 64 65 6f 20 43 6f 6e 74 | fld "Vi|deo Cont|
|00002140| 72 6f 6c 6c 65 72 22 0d | 73 65 6c 65 63 74 20 63 |roller".|select c|
|00002150| 64 20 66 6c 64 20 22 56 | 69 64 65 6f 20 43 6f 6e |d fld "V|ideo Con|
|00002160| 74 72 6f 6c 6c 65 72 22 | 0d 64 6f 4d 65 6e 75 20 |troller"|.doMenu |
|00002170| 22 43 6c 65 61 72 20 46 | 69 65 6c 64 22 0d 63 68 |"Clear F|ield".ch|
|00002180| 6f 6f 73 65 20 62 72 6f | 77 73 65 20 74 6f 6f 6c |oose bro|wse tool|
|00002190| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|000021a0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|000021b0| 20 64 65 6c 65 74 65 56 | 69 64 65 6f 43 6f 6e 74 | deleteV|ideoCont|
|000021c0| 72 6f 6c 6c 65 72 0d 0d | 6f 6e 20 76 69 64 65 6f |roller..|on video|
|000021d0| 43 6c 6f 73 65 43 61 72 | 64 0d 69 66 20 74 68 65 |CloseCar|d.if the|
|000021e0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 20 66 6c | number |of cd fl|
|000021f0| 64 73 20 3e 20 30 20 74 | 68 65 6e 0d 69 66 20 66 |ds > 0 t|hen.if f|
|00002200| 69 6e 64 46 69 65 6c 64 | 28 22 56 69 64 65 6f 20 |indField|("Video |
|00002210| 43 6f 6e 74 72 6f 6c 6c | 65 72 22 29 20 69 73 20 |Controll|er") is |
|00002220| 6e 6f 74 20 66 61 6c 73 | 65 20 74 68 65 6e 0d 64 |not fals|e then.d|
|00002230| 65 6c 65 74 65 56 69 64 | 65 6f 43 6f 6e 74 72 6f |eleteVid|eoContro|
|00002240| 6c 6c 65 72 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ller.end| if.end |
|00002250| 69 66 0d 73 65 6e 64 20 | 22 74 75 72 6e 56 69 64 |if.send |"turnVid|
|00002260| 65 6f 4f 66 66 22 20 74 | 6f 20 63 64 20 22 56 69 |eoOff" t|o cd "Vi|
|00002270| 64 65 6f 4c 69 73 74 22 | 0d 65 6e 64 20 76 69 64 |deoList"|.end vid|
|00002280| 65 6f 43 6c 6f 73 65 43 | 61 72 64 0d 0d 6f 6e 20 |eoCloseC|ard..on |
|00002290| 73 65 74 4e 6f 56 69 64 | 65 6f 0d 67 6c 6f 62 61 |setNoVid|eo.globa|
|000022a0| 6c 20 67 44 69 73 63 53 | 69 64 65 0d 70 75 74 20 |l gDiscS|ide.put |
|000022b0| 22 6e 6f 6e 65 22 20 69 | 6e 74 6f 20 67 44 69 73 |"none" i|nto gDis|
|000022c0| 63 53 69 64 65 0d 65 6e | 64 20 73 65 74 4e 6f 76 |cSide.en|d setNov|
|000022d0| 69 64 65 6f 0d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ideo..--|--------|
|000022e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000022f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 2d |--------|------.-|
|00002320| 2d 20 45 6e 64 20 6f 66 | 20 56 69 64 65 6f 20 53 |- End of| Video S|
|00002330| 63 72 69 70 74 20 76 65 | 72 73 69 6f 6e 20 38 0d |cript ve|rsion 8.|
|00002340| 0d 6f 6e 20 67 6f 55 70 | 0d 67 6f 55 70 54 6f 20 |.on goUp|.goUpTo |
|00002350| 22 6d 61 69 6e 20 6d 65 | 6e 75 22 0d 65 6e 64 20 |"main me|nu".end |
|00002360| 67 6f 55 70 0d 0d 2d 2d | 2d 20 73 74 61 72 74 20 |goUp..--|- start |
|00002370| 6f 66 20 76 69 64 65 6f | 20 62 75 74 74 6f 6e 20 |of video| button |
|00002380| 73 63 72 69 70 74 73 0d | 6f 6e 20 76 69 64 65 6f |scripts.|on video|
|00002390| 42 75 74 74 6f 6e 0d 69 | 66 20 74 68 65 20 6c 6f |Button.i|f the lo|
|000023a0| 63 6b 73 63 72 65 65 6e | 20 69 73 20 74 72 75 65 |ckscreen| is true|
|000023b0| 20 74 68 65 6e 20 65 78 | 69 74 20 76 69 64 65 6f | then ex|it video|
|000023c0| 62 75 74 74 6f 6e 0d 66 | 6c 61 73 68 42 74 6e 20 |button.f|lashBtn |
|000023d0| 76 69 64 65 6f 62 67 2c | 20 32 0d 72 65 70 65 61 |videobg,| 2.repea|
|000023e0| 74 20 77 69 74 68 20 78 | 20 3d 20 31 20 74 6f 20 |t with x| = 1 to |
|000023f0| 33 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 74 |3.repeat| with ct|
|00002400| 72 20 3d 20 31 20 74 6f | 20 33 0d 69 66 20 74 68 |r = 1 to| 3.if th|
|00002410| 65 20 6d 6f 75 73 65 43 | 6c 69 63 6b 20 74 68 65 |e mouseC|lick the|
|00002420| 6e 0d 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |n.set th|e icon o|
|00002430| 66 20 62 74 6e 20 22 76 | 69 64 65 6f 22 20 74 6f |f btn "v|ideo" to|
|00002440| 20 22 67 75 79 20 31 22 | 0d 63 6c 69 63 6b 20 61 | "guy 1"|.click a|
|00002450| 74 20 74 68 65 20 63 6c | 69 63 6b 6c 6f 63 0d 65 |t the cl|ickloc.e|
|00002460| 78 69 74 20 76 69 64 65 | 6f 42 75 74 74 6f 6e 0d |xit vide|oButton.|
|00002470| 65 6e 64 20 69 66 0d 73 | 65 74 20 74 68 65 20 69 |end if.s|et the i|
|00002480| 63 6f 6e 20 6f 66 20 62 | 74 6e 20 22 76 69 64 65 |con of b|tn "vide|
|00002490| 6f 22 20 74 6f 20 22 67 | 75 79 22 20 26 26 20 63 |o" to "g|uy" && c|
|000024a0| 74 72 0d 77 61 69 74 20 | 31 30 0d 65 6e 64 20 72 |tr.wait |10.end r|
|000024b0| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|000024c0| 0d 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 |.set the| icon of|
|000024d0| 20 62 74 6e 20 22 76 69 | 64 65 6f 22 20 74 6f 20 | btn "vi|deo" to |
|000024e0| 22 67 75 79 20 31 22 0d | 65 6e 64 20 76 69 64 65 |"guy 1".|end vide|
|000024f0| 6f 42 75 74 74 6f 6e 0d | 0d 2d 2d 2d 2d 2d 2d 2d |oButton.|.-------|
|00002500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002510| 2d 2d 2d 2d 2d 2d 20 20 | 53 54 55 44 45 4e 54 20 |------ |STUDENT |
|00002520| 4f 50 54 49 4f 4e 53 20 | 66 6f 6c 6c 6f 77 20 2d |OPTIONS |follow -|
|00002530| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 7c 2d 2d 20 74 68 |--------|-.|-- th|
|00002540| 65 20 6f 70 74 69 6f 6e | 73 20 62 75 74 74 6f 6e |e option|s button|
|00002550| 20 63 61 6c 6c 73 20 75 | 70 20 61 20 70 61 6e 65 | calls u|p a pane|
|00002560| 6c 20 6f 66 20 73 65 72 | 76 69 63 65 73 0d 6f 6e |l of ser|vices.on|
|00002570| 20 6e 65 77 4f 70 74 69 | 6f 6e 73 0d 4f 70 74 69 | newOpti|ons.Opti|
|00002580| 6f 6e 73 0d 65 6e 64 20 | 6e 65 77 4f 70 74 69 6f |ons.end |newOptio|
|00002590| 6e 73 0d 6f 6e 20 4f 70 | 74 69 6f 6e 73 0d 67 65 |ns.on Op|tions.ge|
|000025a0| 74 20 53 53 50 61 6e 65 | 6c 28 29 0d 69 66 20 69 |t SSPane|l().if i|
|000025b0| 74 20 69 73 20 6e 6f 74 | 20 22 63 61 6e 63 65 6c |t is not| "cancel|
|000025c0| 22 20 74 68 65 6e 20 64 | 6f 20 69 74 0d 65 6e 64 |" then d|o it.end|
|000025d0| 20 4f 70 74 69 6f 6e 73 | 0d 0d 66 75 6e 63 74 69 | Options|..functi|
|000025e0| 6f 6e 20 53 53 70 61 6e | 65 6c 0d 73 65 74 20 63 |on SSpan|el.set c|
|000025f0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 73 |ursor to| watch.s|
|00002600| 65 74 57 69 6e 64 6f 77 | 20 31 0d 4e 65 77 57 69 |etWindow| 1.NewWi|
|00002610| 6e 64 6f 77 20 32 31 37 | 2c 32 34 38 2c 63 65 6e |ndow 217|,248,cen|
|00002620| 74 65 72 65 64 2c 30 2c | 32 2c 22 53 53 20 44 69 |tered,0,|2,"SS Di|
|00002630| 61 6c 6f 67 22 2c 76 69 | 73 69 62 6c 65 0d 4e 65 |alog",vi|sible.Ne|
|00002640| 77 49 74 65 6d 20 70 69 | 63 74 75 72 65 2c 30 2c |wItem pi|cture,0,|
|00002650| 30 2c 32 31 37 2c 32 34 | 38 2c 33 32 35 20 2d 2d |0,217,24|8,325 --|
|00002660| 20 69 74 65 6d 20 31 0d | 4e 65 77 49 74 65 6d 20 | item 1.|NewItem |
|00002670| 52 65 63 74 42 75 74 74 | 6f 6e 2c 32 30 2c 38 33 |RectButt|on,20,83|
|00002680| 2c 37 32 2c 31 33 33 2c | 41 63 74 69 76 65 2c c2 |,72,133,|Active,.|
|00002690| 0d 2d 31 2c 22 69 6e 76 | 65 72 74 22 2c 22 42 6f |.-1,"inv|ert","Bo|
|000026a0| 6f 6b 6d 61 72 6b 22 2c | 6e 6f 43 6f 6c 6f 72 2c |okmark",|noColor,|
|000026b0| 22 22 2c 22 22 20 2d 2d | 20 42 6f 6f 6b 6d 61 72 |"","" --| Bookmar|
|000026c0| 6b 2c 20 69 74 65 6d 20 | 32 0d 4e 65 77 49 74 65 |k, item |2.NewIte|
|000026d0| 6d 20 52 65 63 74 42 75 | 74 74 6f 6e 2c 38 32 2c |m RectBu|tton,82,|
|000026e0| 38 33 2c 31 33 34 2c 31 | 33 33 2c 41 63 74 69 76 |83,134,1|33,Activ|
|000026f0| 65 2c c2 0d 2d 31 2c 22 | 69 6e 76 65 72 74 22 2c |e,..-1,"|invert",|
|00002700| 22 4e 6f 74 65 62 6f 6f | 6b 22 2c 6e 6f 43 6f 6c |"Noteboo|k",noCol|
|00002710| 6f 72 2c 22 22 2c 22 22 | 20 2d 2d 20 4e 6f 74 65 |or,"",""| -- Note|
|00002720| 2c 20 69 74 65 6d 20 33 | 0d 4e 65 77 49 74 65 6d |, item 3|.NewItem|
|00002730| 20 52 65 63 74 42 75 74 | 74 6f 6e 2c 31 34 34 2c | RectBut|ton,144,|
|00002740| 38 33 2c 31 39 36 2c 31 | 33 33 2c 41 63 74 69 76 |83,196,1|33,Activ|
|00002750| 65 2c c2 0d 2d 31 2c 22 | 69 6e 76 65 72 74 22 2c |e,..-1,"|invert",|
|00002760| 22 53 6e 61 70 73 68 6f | 74 22 2c 6e 6f 43 6f 6c |"Snapsho|t",noCol|
|00002770| 6f 72 2c 22 22 2c 22 22 | 20 2d 2d 20 53 6e 61 70 |or,"",""| -- Snap|
|00002780| 53 68 6f 74 2c 20 20 49 | 74 65 6d 20 34 0d 4e 65 |Shot, I|tem 4.Ne|
|00002790| 77 49 74 65 6d 20 52 65 | 63 74 42 75 74 74 6f 6e |wItem Re|ctButton|
|000027a0| 2c 32 30 2c 31 34 33 2c | 37 32 2c 31 39 33 2c 41 |,20,143,|72,193,A|
|000027b0| 63 74 69 76 65 2c c2 0d | 2d 31 2c 22 69 6e 76 65 |ctive,..|-1,"inve|
|000027c0| 72 74 22 2c 22 47 6c 6f | 73 73 61 72 79 22 2c 6e |rt","Glo|ssary",n|
|000027d0| 6f 43 6f 6c 6f 72 2c 22 | 22 2c 22 22 20 2d 2d 20 |oColor,"|","" -- |
|000027e0| 47 6c 6f 73 73 61 72 79 | 2c 20 49 74 65 6d 20 35 |Glossary|, Item 5|
|000027f0| 0d 4e 65 77 49 74 65 6d | 20 52 65 63 74 42 75 74 |.NewItem| RectBut|
|00002800| 74 6f 6e 2c 38 32 2c 31 | 34 33 2c 31 33 34 2c 31 |ton,82,1|43,134,1|
|00002810| 39 33 2c 41 63 74 69 76 | 65 2c c2 0d 2d 31 2c 22 |93,Activ|e,..-1,"|
|00002820| 69 6e 76 65 72 74 22 2c | 22 4d 61 70 22 2c 6e 6f |invert",|"Map",no|
|00002830| 43 6f 6c 6f 72 2c 22 22 | 2c 22 22 20 2d 2d 20 4d |Color,""|,"" -- M|
|00002840| 61 70 2c 20 49 74 65 6d | 20 36 0d 4e 65 77 49 74 |ap, Item| 6.NewIt|
|00002850| 65 6d 20 52 65 63 74 42 | 75 74 74 6f 6e 2c 31 34 |em RectB|utton,14|
|00002860| 34 2c 31 34 33 2c 31 39 | 36 2c 31 39 33 2c 41 63 |4,143,19|6,193,Ac|
|00002870| 74 69 76 65 2c c2 0d 2d | 31 2c 22 69 6e 76 65 72 |tive,..-|1,"inver|
|00002880| 74 22 2c 22 48 65 6c 70 | 22 2c 6e 6f 43 6f 6c 6f |t","Help|",noColo|
|00002890| 72 2c 22 22 2c 22 22 20 | 2d 2d 20 48 65 6c 70 2c |r,"","" |-- Help,|
|000028a0| 20 49 74 65 6d 20 37 0d | 4e 65 77 49 74 65 6d 20 | Item 7.|NewItem |
|000028b0| 52 65 63 74 42 75 74 74 | 6f 6e 2c 31 39 2c 32 30 |RectButt|on,19,20|
|000028c0| 34 2c 31 31 30 2c 32 33 | 30 2c 41 63 74 69 76 65 |4,110,23|0,Active|
|000028d0| 2c c2 0d 2d 31 2c 22 69 | 6e 76 65 72 74 22 2c 22 |,..-1,"i|nvert","|
|000028e0| 71 75 69 74 4d 46 22 2c | 6e 6f 43 6f 6c 6f 72 2c |quitMF",|noColor,|
|000028f0| 22 22 2c 22 22 20 2d 2d | 20 51 75 69 74 2c 20 69 |"","" --| Quit, i|
|00002900| 74 65 6d 20 38 0d 4e 65 | 77 49 74 65 6d 20 52 65 |tem 8.Ne|wItem Re|
|00002910| 63 74 42 75 74 74 6f 6e | 2c 31 32 34 2c 32 30 34 |ctButton|,124,204|
|00002920| 2c 31 39 37 2c 32 33 30 | 2c 41 63 74 69 76 65 2c |,197,230|,Active,|
|00002930| c2 0d 2d 31 2c 22 69 6e | 76 65 72 74 22 2c 22 63 |..-1,"in|vert","c|
|00002940| 61 6e 63 65 6c 22 2c 6e | 6f 63 6f 6c 6f 72 2c 22 |ancel",n|ocolor,"|
|00002950| 22 2c 22 22 20 20 2d 2d | 20 43 61 6e 63 65 6c 2c |","" --| Cancel,|
|00002960| 20 69 74 65 6d 20 39 0d | 73 65 74 20 63 75 72 73 | item 9.|set curs|
|00002970| 6f 72 20 74 6f 20 61 72 | 72 6f 77 0d 67 65 74 20 |or to ar|row.get |
|00002980| 20 44 69 73 70 6c 61 79 | 20 28 31 35 2c 31 20 29 | Display| (15,1 )|
|00002990| 0d 69 66 20 69 74 20 3d | 20 22 74 69 6d 65 6f 75 |.if it =| "timeou|
|000029a0| 74 22 20 74 68 65 6e 0d | 6b 69 6c 6c 57 69 6e 64 |t" then.|killWind|
|000029b0| 6f 77 0d 72 65 74 75 72 | 6e 20 22 22 20 2d 2d 20 |ow.retur|n "" -- |
|000029c0| 64 6f 20 6e 6f 74 68 69 | 6e 67 0d 65 6e 64 20 69 |do nothi|ng.end i|
|000029d0| 66 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 20 2d 2d 20 |f.killWi|ndow -- |
|000029e0| 63 6c 65 61 6e 20 75 70 | 0d 72 65 74 75 72 6e 20 |clean up|.return |
|000029f0| 69 74 65 6d 20 34 20 6f | 66 20 69 74 0d 65 6e 64 |item 4 o|f it.end|
|00002a00| 20 53 53 70 61 6e 65 6c | 0d 0d 2d 2d 20 74 68 69 | SSpanel|..-- thi|
|00002a10| 73 20 68 61 6e 64 6c 65 | 72 20 69 73 20 63 61 6c |s handle|r is cal|
|00002a20| 6c 65 64 20 66 72 6f 6d | 20 61 6c 6c 20 73 74 61 |led from| all sta|
|00002a30| 63 6b 73 0d 6f 6e 20 42 | 6f 6f 6b 4d 61 72 6b 0d |cks.on B|ookMark.|
|00002a40| 2d 2d 20 73 74 75 66 66 | 20 66 72 6f 6d 20 4d 46 |-- stuff| from MF|
|00002a50| 42 20 4d 61 72 6b 50 6c | 61 63 65 0d 67 6c 6f 62 |B MarkPl|ace.glob|
|00002a60| 61 6c 20 67 4c 61 73 74 | 50 6c 61 63 65 2c 67 50 |al gLast|Place,gP|
|00002a70| 6c 61 63 65 4e 61 6d 65 | 73 2c 20 67 50 6c 61 63 |laceName|s, gPlac|
|00002a80| 65 73 2c 67 43 75 72 4e | 6f 64 65 0d 73 65 74 57 |es,gCurN|ode.setW|
|00002a90| 69 6e 64 6f 77 20 31 0d | 4e 65 77 57 69 6e 64 6f |indow 1.|NewWindo|
|00002aa0| 77 20 32 39 30 2c 32 32 | 32 2c 63 65 6e 74 65 72 |w 290,22|2,center|
|00002ab0| 65 64 2c 30 2c 31 2c 22 | 42 6f 6f 6b 6d 61 72 6b |ed,0,1,"|Bookmark|
|00002ac0| 20 44 69 61 6c 6f 67 22 | 2c 76 69 73 69 62 6c 65 | Dialog"|,visible|
|00002ad0| 0d 70 75 74 20 22 53 74 | 75 64 65 6e 74 20 53 65 |.put "St|udent Se|
|00002ae0| 72 76 69 63 65 73 22 20 | 26 20 72 65 74 75 72 6e |rvices" |& return|
|00002af0| 20 26 20 22 42 6f 6f 6b | 6d 61 72 6b 22 20 69 6e | & "Book|mark" in|
|00002b00| 74 6f 20 74 68 65 54 65 | 78 74 0d 4e 65 77 49 74 |to theTe|xt.NewIt|
|00002b10| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 35 39 |em Stati|cText,59|
|00002b20| 2c 36 2c 31 39 32 2c 34 | 38 2c 74 68 65 54 65 78 |,6,192,4|8,theTex|
|00002b30| 74 2c 22 42 20 67 61 72 | 61 6d 6f 6e 64 20 62 6f |t,"B gar|amond bo|
|00002b40| 6c 64 22 2c 32 30 2c 70 | 6c 61 69 6e 0d 2d 2d 20 |ld",20,p|lain.-- |
|00002b50| 69 74 65 6d 20 31 0d 4e | 65 77 49 74 65 6d 20 52 |item 1.N|ewItem R|
|00002b60| 65 63 74 42 75 74 74 6f | 6e 2c 31 37 2c 38 2c 36 |ectButto|n,17,8,6|
|00002b70| 31 2c 34 35 2c c2 0d 22 | 4e 6f 74 41 63 74 69 76 |1,45,.."|NotActiv|
|00002b80| 65 22 2c 31 37 34 32 2c | 22 64 6f 6e 74 69 6e 76 |e",1742,|"dontinv|
|00002b90| 65 72 74 22 2c 65 6d 70 | 74 79 2c 6e 6f 43 6f 6c |ert",emp|ty,noCol|
|00002ba0| 6f 72 2c 22 22 2c 22 22 | 0d 2d 2d 20 20 62 6f 6f |or,"",""|.-- boo|
|00002bb0| 6b 6d 61 72 6b 20 67 72 | 61 70 68 69 63 20 69 74 |kmark gr|aphic it|
|00002bc0| 65 6d 20 32 0d 4e 65 77 | 49 74 65 6d 20 52 65 63 |em 2.New|Item Rec|
|00002bd0| 74 61 6e 67 6c 65 2c 30 | 2c 35 33 2c 32 39 30 2c |tangle,0|,53,290,|
|00002be0| 35 34 2c 31 20 2d 2d 20 | 69 74 65 6d 20 33 2c 20 |54,1 -- |item 3, |
|00002bf0| 64 65 63 6f 72 61 74 69 | 76 65 20 72 75 6c 65 0d |decorati|ve rule.|
|00002c00| 4e 65 77 49 74 65 6d 20 | 53 74 61 74 69 63 54 65 |NewItem |StaticTe|
|00002c10| 78 74 2c 32 34 2c 36 30 | 2c 31 35 37 2c 37 39 2c |xt,24,60|,157,79,|
|00002c20| c2 0d 22 42 6f 6f 6b 6d | 61 72 6b 20 69 6e 3a 22 |.."Bookm|ark in:"|
|00002c30| 2c 47 61 72 61 6d 6f 6e | 64 2c 31 36 2c 70 6c 61 |,Garamon|d,16,pla|
|00002c40| 69 6e 20 2d 2d 20 69 74 | 65 6d 20 34 0d 4e 65 77 |in -- it|em 4.New|
|00002c50| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|00002c60| 32 34 2b 33 2c 37 39 2c | 32 36 30 2c 39 35 2c c2 |24+3,79,|260,95,.|
|00002c70| 0d 6d 61 6b 65 53 74 61 | 6d 70 28 29 2c 22 43 68 |.makeSta|mp(),"Ch|
|00002c80| 69 63 61 67 6f 22 2c 31 | 32 2c 70 6c 61 69 6e 20 |icago",1|2,plain |
|00002c90| 2d 2d 20 69 74 65 6d 20 | 35 0d 4e 65 77 49 74 65 |-- item |5.NewIte|
|00002ca0| 6d 20 52 65 63 74 61 6e | 67 6c 65 2c 32 34 2c 37 |m Rectan|gle,24,7|
|00002cb0| 38 2c 32 36 38 2c 39 37 | 2c 31 20 2d 2d 49 74 65 |8,268,97|,1 --Ite|
|00002cc0| 6d 20 36 0d 4e 65 77 49 | 74 65 6d 20 53 74 61 74 |m 6.NewI|tem Stat|
|00002cd0| 69 63 54 65 78 74 2c 32 | 34 2c 31 30 33 2c 32 36 |icText,2|4,103,26|
|00002ce0| 38 2c 31 32 33 2c c2 0d | 22 42 6f 6f 6b 6d 61 72 |8,123,..|"Bookmar|
|00002cf0| 6b 20 6e 61 6d 65 20 28 | 6f 70 74 69 6f 6e 61 6c |k name (|optional|
|00002d00| 29 3a 22 2c 47 61 72 61 | 6d 6f 6e 64 2c 31 36 2c |):",Gara|mond,16,|
|00002d10| 70 6c 61 69 6e 20 2d 2d | 20 69 74 65 6d 20 37 0d |plain --| item 7.|
|00002d20| 4e 65 77 49 74 65 6d 20 | 45 64 69 74 54 65 78 74 |NewItem |EditText|
|00002d30| 2c 32 34 2c 31 32 30 2c | 32 36 38 2c 31 34 31 2c |,24,120,|268,141,|
|00002d40| c2 0d 65 6d 70 74 79 2c | 22 43 68 69 63 61 67 6f |..empty,|"Chicago|
|00002d50| 22 2c 31 32 2c 70 6c 61 | 69 6e 2c 6e 6f 53 63 72 |",12,pla|in,noScr|
|00002d60| 6f 6c 6c 2c 68 61 73 43 | 75 72 73 6f 72 20 2d 2d |oll,hasC|ursor --|
|00002d70| 20 69 74 65 6d 20 38 0d | 4e 65 77 49 74 65 6d 20 | item 8.|NewItem |
|00002d80| 52 6f 75 6e 64 42 75 74 | 74 6f 6e 2c 32 34 2c 31 |RoundBut|ton,24,1|
|00002d90| 36 31 2c 31 34 30 2c 31 | 38 37 2c c2 0d 22 43 72 |61,140,1|87,.."Cr|
|00002da0| 65 61 74 65 20 6d 61 72 | 6b 22 2c 31 33 2c 6e 6f |eate mar|k",13,no|
|00002db0| 43 6f 6d 6d 61 6e 64 2c | 22 22 20 2d 2d 20 69 74 |Command,|"" -- it|
|00002dc0| 65 6d 20 38 0d 4e 65 77 | 49 74 65 6d 20 52 6f 75 |em 8.New|Item Rou|
|00002dd0| 6e 64 42 75 74 74 6f 6e | 2c 31 35 32 2c 31 36 34 |ndButton|,152,164|
|00002de0| 2c 32 36 38 2c 31 38 34 | 20 2c c2 0d 22 43 61 6e |,268,184| ,.."Can|
|00002df0| 63 65 6c 22 2c 63 68 61 | 72 54 6f 4e 75 6d 28 22 |cel",cha|rToNum("|
|00002e00| 2e 22 29 2c 43 6f 6d 6d | 61 6e 64 2c 22 22 20 2d |."),Comm|and,"" -|
|00002e10| 2d 20 69 74 65 6d 20 31 | 30 0d 4e 65 77 49 74 65 |- item 1|0.NewIte|
|00002e20| 6d 20 52 6f 75 6e 64 42 | 75 74 74 6f 6e 2c 32 34 |m RoundB|utton,24|
|00002e30| 2c 31 39 36 2c 31 34 30 | 2c 32 31 36 2c c2 0d 22 |,196,140|,216,.."|
|00002e40| 47 6f 20 74 6f 20 6c 61 | 73 74 20 6d 61 72 6b 22 |Go to la|st mark"|
|00002e50| 2c 31 34 2c 6e 6f 43 6f | 6d 6d 61 6e 64 2c 22 22 |,14,noCo|mmand,""|
|00002e60| 20 2d 2d 20 69 74 65 6d | 20 31 31 0d 4e 65 77 49 | -- item| 11.NewI|
|00002e70| 74 65 6d 20 52 6f 75 6e | 64 42 75 74 74 6f 6e 2c |tem Roun|dButton,|
|00002e80| 31 35 32 2c 31 39 36 2c | 32 36 38 2c 32 31 36 2c |152,196,|268,216,|
|00002e90| c2 0d 22 53 65 6c 65 63 | 74 20 61 20 6d 61 72 6b |.."Selec|t a mark|
|00002ea0| 22 2c 31 35 2c 6e 6f 43 | 6f 6d 6d 61 6e 64 2c 22 |",15,noC|ommand,"|
|00002eb0| 22 20 2d 2d 20 69 74 65 | 6d 20 31 32 0d 73 65 74 |" -- ite|m 12.set|
|00002ec0| 20 63 75 72 73 6f 72 20 | 74 6f 20 61 72 72 6f 77 | cursor |to arrow|
|00002ed0| 0d 67 65 74 20 20 44 69 | 73 70 6c 61 79 20 28 31 |.get Di|splay (1|
|00002ee0| 38 30 2c 31 29 0d 2d 2d | 20 4b 69 6c 6c 20 74 68 |80,1).--| Kill th|
|00002ef0| 65 20 77 69 6e 64 6f 77 | 20 61 66 74 65 72 20 61 |e window| after a|
|00002f00| 20 74 69 6d 65 6f 75 74 | 0d 69 66 20 69 74 20 3d | timeout|.if it =|
|00002f10| 20 22 74 69 6d 65 6f 75 | 74 22 20 74 68 65 6e 0d | "timeou|t" then.|
|00002f20| 2d 2d 20 64 65 6c 65 74 | 65 20 6c 61 73 74 20 69 |-- delet|e last i|
|00002f30| 74 65 6d 20 6f 66 20 77 | 68 65 72 65 57 65 43 61 |tem of w|hereWeCa|
|00002f40| 6d 65 46 72 6f 6d 0d 6b | 69 6c 6c 57 69 6e 64 6f |meFrom.k|illWindo|
|00002f50| 77 0d 72 65 74 75 72 6e | 20 22 63 61 6e 63 65 6c |w.return| "cancel|
|00002f60| 22 0d 65 6e 64 20 69 66 | 0d 0d 2d 2d 20 69 66 20 |".end if|..-- if |
|00002f70| 69 74 20 64 69 64 6e 27 | 74 20 74 69 6d 65 20 6f |it didn'|t time o|
|00002f80| 75 74 2c 20 73 65 65 20 | 77 68 61 74 20 74 68 65 |ut, see |what the|
|00002f90| 20 75 73 65 72 20 63 68 | 6f 73 65 0d 70 75 74 20 | user ch|ose.put |
|00002fa0| 69 74 65 6d 20 34 20 6f | 66 20 69 74 20 69 6e 74 |item 4 o|f it int|
|00002fb0| 6f 20 75 73 65 72 50 69 | 63 6b 65 64 0d 69 66 20 |o userPi|cked.if |
|00002fc0| 75 73 65 72 50 69 63 6b | 65 64 20 69 73 20 22 43 |userPick|ed is "C|
|00002fd0| 72 65 61 74 65 20 6d 61 | 72 6b 22 20 74 68 65 6e |reate ma|rk" then|
|00002fe0| 20 2d 2d 20 63 72 65 61 | 74 65 20 61 20 6e 65 77 | -- crea|te a new|
|00002ff0| 20 62 6f 6f 6b 6d 61 72 | 6b 0d 70 75 74 20 69 74 | bookmar|k.put it|
|00003000| 65 6d 20 32 20 6f 66 20 | 20 47 65 74 56 61 6c 75 |em 2 of | GetValu|
|00003010| 65 28 22 49 74 65 6d 22 | 2c 35 29 20 69 6e 74 6f |e("Item"|,5) into|
|00003020| 20 70 6c 61 63 65 6e 61 | 6d 65 2d 2d 20 74 68 65 | placena|me-- the|
|00003030| 20 62 6f 6f 6b 6d 61 72 | 6b 20 73 74 61 6d 70 0d | bookmar|k stamp.|
|00003040| 67 65 74 20 69 74 65 6d | 20 32 20 6f 66 20 67 65 |get item| 2 of ge|
|00003050| 74 56 61 6c 75 65 28 22 | 49 74 65 6d 22 2c 38 29 |tValue("|Item",8)|
|00003060| 20 2d 2d 20 74 68 65 20 | 6f 70 74 69 6f 6e 61 6c | -- the |optional|
|00003070| 20 74 69 74 6c 65 0d 69 | 66 20 69 74 20 69 73 20 | title.i|f it is |
|00003080| 6e 6f 74 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |not "" t|hen put |
|00003090| 22 20 a5 20 22 20 26 20 | 69 74 20 61 66 74 65 72 |" . " & |it after|
|000030a0| 20 70 6c 61 63 65 4e 61 | 6d 65 0d 69 66 20 70 6c | placeNa|me.if pl|
|000030b0| 61 63 65 4e 61 6d 65 20 | 69 73 20 6e 6f 74 20 65 |aceName |is not e|
|000030c0| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 70 6c |mpty the|n.put pl|
|000030d0| 61 63 65 4e 61 6d 65 20 | 26 20 72 65 74 75 72 6e |aceName |& return|
|000030e0| 20 62 65 66 6f 72 65 20 | 67 50 6c 61 63 65 4e 61 | before |gPlaceNa|
|000030f0| 6d 65 73 0d 70 75 74 20 | 67 65 74 43 61 72 64 4e |mes.put |getCardN|
|00003100| 61 6d 65 28 29 20 69 6e | 74 6f 20 67 4c 61 73 74 |ame() in|to gLast|
|00003110| 50 6c 61 63 65 0d 70 75 | 74 20 67 4c 61 73 74 50 |Place.pu|t gLastP|
|00003120| 6c 61 63 65 20 26 20 22 | 2c 22 20 26 20 67 43 75 |lace & "|," & gCu|
|00003130| 72 4e 6f 64 65 20 26 20 | 72 65 74 75 72 6e 20 62 |rNode & |return b|
|00003140| 65 66 6f 72 65 20 67 50 | 6c 61 63 65 73 0d 65 6e |efore gP|laces.en|
|00003150| 64 20 69 66 0d 6b 69 6c | 6c 57 69 6e 64 6f 77 0d |d if.kil|lWindow.|
|00003160| 65 6c 73 65 20 69 66 20 | 75 73 65 72 50 69 63 6b |else if |userPick|
|00003170| 65 64 20 69 73 20 22 47 | 6f 20 74 6f 20 6c 61 73 |ed is "G|o to las|
|00003180| 74 20 6d 61 72 6b 22 20 | 74 68 65 6e 20 2d 2d 20 |t mark" |then -- |
|00003190| 67 6f 20 74 6f 20 6c 61 | 73 74 20 6d 61 72 6b 0d |go to la|st mark.|
|000031a0| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 4c 61 73 74 50 |killWind|ow.LastP|
|000031b0| 6c 61 63 65 0d 65 6c 73 | 65 20 69 66 20 75 73 65 |lace.els|e if use|
|000031c0| 72 50 69 63 6b 65 64 20 | 69 73 20 22 53 65 6c 65 |rPicked |is "Sele|
|000031d0| 63 74 20 61 20 6d 61 72 | 6b 22 20 74 68 65 6e 20 |ct a mar|k" then |
|000031e0| 2d 2d 20 73 65 6c 65 63 | 74 20 6d 61 72 6b 20 66 |-- selec|t mark f|
|000031f0| 72 6d 20 62 6f 6f 6b 6d | 61 72 6b 0d 6b 69 6c 6c |rm bookm|ark.kill|
|00003200| 57 69 6e 64 6f 77 0d 67 | 6f 42 6f 6f 6b 4d 61 72 |Window.g|oBookMar|
|00003210| 6b 0d 65 6c 73 65 20 2d | 2d 20 6d 75 73 74 20 62 |k.else -|- must b|
|00003220| 65 20 43 61 6e 63 65 6c | 0d 6b 69 6c 6c 57 69 6e |e Cancel|.killWin|
|00003230| 64 6f 77 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 42 |dow.end |if.end B|
|00003240| 6f 6f 6b 4d 61 72 6b 0d | 0d 6f 6e 20 4c 61 73 74 |ookMark.|.on Last|
|00003250| 50 6c 61 63 65 0d 67 6c | 6f 62 61 6c 20 67 4c 61 |Place.gl|obal gLa|
|00003260| 73 74 50 6c 61 63 65 2c | 20 67 43 75 72 4e 6f 64 |stPlace,| gCurNod|
|00003270| 65 0d 70 75 74 20 67 65 | 74 43 61 72 64 4e 61 6d |e.put ge|tCardNam|
|00003280| 65 28 29 20 26 20 22 2c | 22 20 26 20 67 43 75 72 |e() & ",|" & gCur|
|00003290| 4e 6f 64 65 20 69 6e 74 | 6f 20 6c 61 73 74 50 6c |Node int|o lastPl|
|000032a0| 61 63 65 0d 67 65 74 20 | 69 74 65 6d 20 31 20 6f |ace.get |item 1 o|
|000032b0| 66 20 67 4c 61 73 74 50 | 6c 61 63 65 0d 69 66 20 |f gLastP|lace.if |
|000032c0| 69 74 20 69 73 20 6e 6f | 74 20 22 22 20 74 68 65 |it is no|t "" the|
|000032d0| 6e 0d 67 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 67 |n.go ite|m 1 of g|
|000032e0| 4c 61 73 74 50 6c 61 63 | 65 0d 70 75 74 20 6c 61 |LastPlac|e.put la|
|000032f0| 73 74 50 6c 61 63 65 20 | 69 6e 74 6f 20 67 4c 61 |stPlace |into gLa|
|00003300| 73 74 50 6c 61 63 65 0d | 65 6c 73 65 0d 61 6e 73 |stPlace.|else.ans|
|00003310| 77 65 72 20 22 53 6f 72 | 72 79 2c 20 79 6f 75 20 |wer "Sor|ry, you |
|00003320| 68 61 76 65 6e d5 74 20 | 6d 61 64 65 20 61 6e 79 |haven.t |made any|
|00003330| 20 42 6f 6f 6b 6d 61 72 | 6b 73 2e 22 20 77 69 74 | Bookmar|ks." wit|
|00003340| 68 20 22 4f 4b 22 0d 65 | 6e 64 20 69 66 0d 65 6e |h "OK".e|nd if.en|
|00003350| 64 20 4c 61 73 74 50 6c | 61 63 65 0d 0d 6f 6e 20 |d LastPl|ace..on |
|00003360| 67 6f 42 6f 6f 6b 4d 61 | 72 6b 0d 67 6c 6f 62 61 |goBookMa|rk.globa|
|00003370| 6c 20 67 4c 61 73 74 50 | 6c 61 63 65 2c 67 50 6c |l gLastP|lace,gPl|
|00003380| 61 63 65 4e 61 6d 65 73 | 2c 20 67 50 6c 61 63 65 |aceNames|, gPlace|
|00003390| 73 2c 20 67 52 65 63 65 | 6e 74 50 6c 61 63 65 2c |s, gRece|ntPlace,|
|000033a0| 67 43 75 72 4e 6f 64 65 | 0d 70 75 73 68 20 63 61 |gCurNode|.push ca|
|000033b0| 72 64 0d 70 75 74 20 67 | 65 74 43 61 72 64 4e 61 |rd.put g|etCardNa|
|000033c0| 6d 65 28 29 20 26 20 22 | 2c 22 20 26 20 67 43 75 |me() & "|," & gCu|
|000033d0| 72 4e 6f 64 65 20 69 6e | 74 6f 20 67 52 65 63 65 |rNode in|to gRece|
|000033e0| 6e 74 50 6c 61 63 65 0d | 6c 6f 63 6b 20 73 63 72 |ntPlace.|lock scr|
|000033f0| 65 65 6e 0d 67 6f 20 74 | 6f 20 63 61 72 64 20 22 |een.go t|o card "|
|00003400| 42 6f 6f 6b 4d 61 72 6b | 22 20 6f 66 20 73 74 61 |BookMark|" of sta|
|00003410| 63 6b 20 22 4d 46 20 42 | 6f 6f 6b 4d 61 72 6b 22 |ck "MF B|ookMark"|
|00003420| 0d 70 75 74 20 67 50 6c | 61 63 65 4e 61 6d 65 73 |.put gPl|aceNames|
|00003430| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 50 6c 61 | into fi|eld "Pla|
|00003440| 63 65 4c 69 73 74 22 0d | 75 6e 6c 6f 63 6b 20 73 |ceList".|unlock s|
|00003450| 63 72 65 65 6e 20 77 69 | 74 68 20 76 69 73 75 61 |creen wi|th visua|
|00003460| 6c 20 65 66 66 65 63 74 | 20 69 72 69 73 20 6f 70 |l effect| iris op|
|00003470| 65 6e 0d 65 6e 64 20 67 | 6f 42 6f 6f 6b 4d 61 72 |en.end g|oBookMar|
|00003480| 6b 0d 0d 2d 2d 20 74 68 | 69 73 20 68 61 6e 64 6c |k..-- th|is handl|
|00003490| 65 72 20 69 73 20 63 61 | 6c 6c 65 64 20 66 72 6f |er is ca|lled fro|
|000034a0| 6d 20 61 6c 6c 20 73 74 | 61 63 6b 73 0d 6f 6e 20 |m all st|acks.on |
|000034b0| 4e 6f 74 65 42 6f 6f 6b | 0d 67 6c 6f 62 61 6c 20 |NoteBook|.global |
|000034c0| 67 53 74 75 64 65 6e 74 | 4e 61 6d 65 0d 73 65 74 |gStudent|Name.set|
|000034d0| 57 69 6e 64 6f 77 20 31 | 0d 4e 65 77 57 69 6e 64 |Window 1|.NewWind|
|000034e0| 6f 77 20 32 39 30 2c 32 | 39 30 2c 63 65 6e 74 65 |ow 290,2|90,cente|
|000034f0| 72 65 64 2c 30 2c 31 2c | 22 4e 6f 74 65 22 2c 76 |red,0,1,|"Note",v|
|00003500| 69 73 69 62 6c 65 0d 70 | 75 74 20 22 53 74 75 64 |isible.p|ut "Stud|
|00003510| 65 6e 74 20 53 65 72 76 | 69 63 65 73 22 20 26 20 |ent Serv|ices" & |
|00003520| 72 65 74 75 72 6e 20 26 | 20 22 4e 6f 74 65 22 20 |return &| "Note" |
|00003530| 69 6e 74 6f 20 74 68 65 | 54 65 78 74 0d 4e 65 77 |into the|Text.New|
|00003540| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|00003550| 35 39 2c 36 2c 31 39 32 | 2c 34 38 2c 74 68 65 54 |59,6,192|,48,theT|
|00003560| 65 78 74 2c 22 42 20 67 | 61 72 61 6d 6f 6e 64 20 |ext,"B g|aramond |
|00003570| 62 6f 6c 64 22 2c 32 30 | 2c 70 6c 61 69 6e 0d 2d |bold",20|,plain.-|
|00003580| 2d 20 69 74 65 6d 20 31 | 0d 4e 65 77 49 74 65 6d |- item 1|.NewItem|
|00003590| 20 52 65 63 74 42 75 74 | 74 6f 6e 2c 31 37 2c 38 | RectBut|ton,17,8|
|000035a0| 2c 36 31 2c 34 35 2c 4e | 6f 74 41 63 74 69 76 65 |,61,45,N|otActive|
|000035b0| 2c c2 0d 31 37 35 32 36 | 2c 22 64 6f 6e 74 69 6e |,..17526|,"dontin|
|000035c0| 76 65 72 74 22 2c 65 6d | 70 74 79 2c 6e 6f 43 6f |vert",em|pty,noCo|
|000035d0| 6c 6f 72 2c 22 22 2c 22 | 22 20 2d 2d 20 4e 6f 74 |lor,"","|" -- Not|
|000035e0| 65 20 69 63 6f 6e 2c 20 | 20 49 74 65 6d 20 32 0d |e icon, | Item 2.|
|000035f0| 4e 65 77 49 74 65 6d 20 | 52 65 63 74 61 6e 67 6c |NewItem |Rectangl|
|00003600| 65 2c 30 2c 35 33 2c 32 | 39 30 2c 35 34 2c 31 20 |e,0,53,2|90,54,1 |
|00003610| 2d 2d 20 69 74 65 6d 20 | 33 2c 20 64 65 63 6f 72 |-- item |3, decor|
|00003620| 61 74 69 76 65 20 72 75 | 6c 65 0d 4e 65 77 49 74 |ative ru|le.NewIt|
|00003630| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 32 34 |em Stati|cText,24|
|00003640| 2c 36 30 2c 31 35 37 2c | 37 39 2c c2 0d 22 4e 6f |,60,157,|79,.."No|
|00003650| 74 65 20 69 6e 3a 22 2c | 47 61 72 61 6d 6f 6e 64 |te in:",|Garamond|
|00003660| 2c 31 36 2c 70 6c 61 69 | 6e 20 2d 2d 20 69 74 65 |,16,plai|n -- ite|
|00003670| 6d 20 34 0d 4e 65 77 49 | 74 65 6d 20 53 74 61 74 |m 4.NewI|tem Stat|
|00003680| 69 63 54 65 78 74 2c 32 | 34 2b 33 2c 37 39 2c 32 |icText,2|4+3,79,2|
|00003690| 36 30 2c 39 35 2c c2 0d | 6d 61 6b 65 53 74 61 6d |60,95,..|makeStam|
|000036a0| 70 28 29 2c 22 43 68 69 | 63 61 67 6f 22 2c 31 32 |p(),"Chi|cago",12|
|000036b0| 2c 70 6c 61 69 6e 20 2d | 2d 20 69 74 65 6d 20 35 |,plain -|- item 5|
|000036c0| 0d 4e 65 77 49 74 65 6d | 20 52 65 63 74 61 6e 67 |.NewItem| Rectang|
|000036d0| 6c 65 2c 32 34 2c 37 38 | 2c 32 36 38 2c 39 37 2c |le,24,78|,268,97,|
|000036e0| 31 20 2d 2d 49 74 65 6d | 20 36 0d 4e 65 77 49 74 |1 --Item| 6.NewIt|
|000036f0| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 32 34 |em Stati|cText,24|
|00003700| 2c 31 30 33 2c 32 36 38 | 2c 31 32 33 2c c2 0d 22 |,103,268|,123,.."|
|00003710| 54 79 70 65 20 6e 6f 74 | 65 20 68 65 72 65 3a 22 |Type not|e here:"|
|00003720| 2c 47 61 72 61 6d 6f 6e | 64 2c 31 36 2c 70 6c 61 |,Garamon|d,16,pla|
|00003730| 69 6e 20 2d 2d 20 49 74 | 65 6d 20 37 0d 4e 65 77 |in -- It|em 7.New|
|00003740| 49 74 65 6d 20 45 64 69 | 74 54 65 78 74 2c 32 34 |Item Edi|tText,24|
|00003750| 2c 31 32 30 2c 32 36 39 | 2c 32 32 30 2c c2 0d 22 |,120,269|,220,.."|
|00003760| 22 2c 47 65 6e 65 76 61 | 2c 31 32 2c 70 6c 61 69 |",Geneva|,12,plai|
|00003770| 6e 2c 68 61 73 53 63 72 | 6f 6c 6c 2c 68 61 73 43 |n,hasScr|oll,hasC|
|00003780| 75 72 73 6f 72 20 2d 2d | 20 49 74 65 6d 20 38 0d |ursor --| Item 8.|
|00003790| 4e 65 77 49 74 65 6d 20 | 52 6f 75 6e 64 42 75 74 |NewItem |RoundBut|
|000037a0| 74 6f 6e 2c 32 34 2c 32 | 32 39 2c 31 34 30 2c 32 |ton,24,2|29,140,2|
|000037b0| 35 35 2c c2 0d 22 53 61 | 76 65 20 6e 6f 74 65 22 |55,.."Sa|ve note"|
|000037c0| 2c 31 33 2c 6e 6f 43 6f | 6d 6d 61 6e 64 2c 22 22 |,13,noCo|mmand,""|
|000037d0| 20 2d 2d 20 69 74 65 6d | 20 39 0d 4e 65 77 49 74 | -- item| 9.NewIt|
|000037e0| 65 6d 20 52 6f 75 6e 64 | 42 75 74 74 6f 6e 2c 31 |em Round|Button,1|
|000037f0| 35 32 2c 32 33 32 2c 32 | 36 38 2c 32 35 32 20 2c |52,232,2|68,252 ,|
|00003800| c2 0d 22 54 65 6c 6c 20 | 41 70 70 6c 65 22 2c 31 |.."Tell |Apple",1|
|00003810| 30 2c 6e 6f 43 6f 6d 6d | 61 6e 64 2c 22 22 20 2d |0,noComm|and,"" -|
|00003820| 2d 20 69 74 65 6d 20 31 | 30 0d 4e 65 77 49 74 65 |- item 1|0.NewIte|
|00003830| 6d 20 52 6f 75 6e 64 42 | 75 74 74 6f 6e 2c 32 34 |m RoundB|utton,24|
|00003840| 2c 32 36 34 2c 31 34 30 | 2c 32 38 34 2c c2 0d 22 |,264,140|,284,.."|
|00003850| 47 6f 20 74 6f 20 4e 6f | 74 65 62 6f 6f 6b 22 2c |Go to No|tebook",|
|00003860| 31 31 2c 6e 6f 43 6f 6d | 6d 61 6e 64 2c 22 22 20 |11,noCom|mand,"" |
|00003870| 2d 2d 20 69 74 65 6d 20 | 31 31 0d 4e 65 77 49 74 |-- item |11.NewIt|
|00003880| 65 6d 20 52 6f 75 6e 64 | 42 75 74 74 6f 6e 2c 31 |em Round|Button,1|
|00003890| 35 32 2c 32 36 34 2c 32 | 36 38 2c 32 38 34 20 2c |52,264,2|68,284 ,|
|000038a0| c2 0d 22 43 61 6e 63 65 | 6c 22 2c 63 68 61 72 54 |.."Cance|l",charT|
|000038b0| 6f 4e 75 6d 28 22 2e 22 | 29 2c 43 6f 6d 6d 61 6e |oNum("."|),Comman|
|000038c0| 64 2c 22 22 20 2d 2d 20 | 69 74 65 6d 20 31 32 0d |d,"" -- |item 12.|
|000038d0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 61 72 |set curs|or to ar|
|000038e0| 72 6f 77 0d 67 65 74 20 | 20 44 69 73 70 6c 61 79 |row.get | Display|
|000038f0| 20 28 33 36 30 30 2c 31 | 29 0d 0d 2d 2d 20 4b 69 | (3600,1|)..-- Ki|
|00003900| 6c 6c 20 74 68 65 20 77 | 69 6e 64 6f 77 20 61 66 |ll the w|indow af|
|00003910| 74 65 72 20 61 20 74 69 | 6d 65 6f 75 74 0d 69 66 |ter a ti|meout.if|
|00003920| 20 69 74 20 3d 20 22 74 | 69 6d 65 6f 75 74 22 20 | it = "t|imeout" |
|00003930| 74 68 65 6e 0d 2d 2d 20 | 64 65 6c 65 74 65 20 6c |then.-- |delete l|
|00003940| 61 73 74 20 69 74 65 6d | 20 6f 66 20 77 68 65 72 |ast item| of wher|
|00003950| 65 57 65 43 61 6d 65 46 | 72 6f 6d 0d 6b 69 6c 6c |eWeCameF|rom.kill|
|00003960| 57 69 6e 64 6f 77 0d 72 | 65 74 75 72 6e 20 22 63 |Window.r|eturn "c|
|00003970| 61 6e 63 65 6c 22 0d 65 | 6e 64 20 69 66 0d 0d 2d |ancel".e|nd if..-|
|00003980| 2d 20 69 66 20 69 74 20 | 64 69 64 6e 27 74 20 74 |- if it |didn't t|
|00003990| 69 6d 65 20 6f 75 74 2c | 20 73 65 65 20 77 68 61 |ime out,| see wha|
|000039a0| 74 20 74 68 65 20 75 73 | 65 72 20 63 68 6f 73 65 |t the us|er chose|
|000039b0| 0d 70 75 74 20 69 74 65 | 6d 20 34 20 6f 66 20 69 |.put ite|m 4 of i|
|000039c0| 74 20 69 6e 74 6f 20 75 | 73 65 72 50 69 63 6b 65 |t into u|serPicke|
|000039d0| 64 0d 69 66 20 75 73 65 | 72 50 69 63 6b 65 64 20 |d.if use|rPicked |
|000039e0| 69 73 20 22 53 61 76 65 | 20 6e 6f 74 65 22 20 74 |is "Save| note" t|
|000039f0| 68 65 6e 20 2d 2d 20 63 | 72 65 61 74 65 20 61 20 |hen -- c|reate a |
|00003a00| 6e 65 77 20 6e 6f 74 65 | 0d 73 65 74 20 63 75 72 |new note|.set cur|
|00003a10| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 70 75 74 |sor to w|atch.put|
|00003a20| 20 69 74 65 6d 20 32 20 | 6f 66 20 20 47 65 74 56 | item 2 |of GetV|
|00003a30| 61 6c 75 65 28 22 49 74 | 65 6d 22 2c 35 29 20 69 |alue("It|em",5) i|
|00003a40| 6e 74 6f 20 70 6c 61 63 | 65 4e 61 6d 65 0d 2d 2d |nto plac|eName.--|
|00003a50| 20 74 68 65 20 6e 6f 74 | 65 20 74 69 6d 65 2f 70 | the not|e time/p|
|00003a60| 6c 61 63 65 20 73 74 61 | 6d 70 0d 70 75 74 20 47 |lace sta|mp.put G|
|00003a70| 65 74 56 61 6c 75 65 28 | 22 49 74 65 6d 22 2c 38 |etValue(|"Item",8|
|00003a80| 29 20 69 6e 74 6f 20 6e | 6f 74 65 54 65 78 74 20 |) into n|oteText |
|00003a90| 2d 2d 20 74 68 65 20 61 | 63 74 75 61 6c 20 74 65 |-- the a|ctual te|
|00003aa0| 78 74 0d 64 65 6c 65 74 | 65 20 69 74 65 6d 20 31 |xt.delet|e item 1|
|00003ab0| 20 6f 66 20 6e 6f 74 65 | 54 65 78 74 20 2d 2d 20 | of note|Text -- |
|00003ac0| 64 6f 20 74 68 69 73 20 | 62 65 63 61 75 73 65 20 |do this |because |
|00003ad0| 6f 66 20 74 65 78 74 20 | 63 6f 6d 6d 61 73 0d 70 |of text |commas.p|
|00003ae0| 75 74 20 73 74 72 69 70 | 52 65 74 75 72 6e 73 28 |ut strip|Returns(|
|00003af0| 6e 6f 74 65 54 65 78 74 | 29 20 69 6e 74 6f 20 6e |noteText|) into n|
|00003b00| 6f 74 65 74 65 78 74 0d | 6b 69 6c 6c 57 69 6e 64 |otetext.|killWind|
|00003b10| 6f 77 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ow.set c|ursor to|
|00003b20| 20 77 61 74 63 68 0d 69 | 66 20 67 6f 53 74 75 64 | watch.i|f goStud|
|00003b30| 65 6e 74 53 74 61 63 6b | 28 22 61 73 6b 22 29 20 |entStack|("ask") |
|00003b40| 69 73 20 22 74 72 75 65 | 22 20 74 68 65 6e 0d 67 |is "true|" then.g|
|00003b50| 6f 20 63 64 20 22 6e 6f | 74 65 62 6f 6f 6b 22 0d |o cd "no|tebook".|
|00003b60| 65 6c 73 65 0d 65 78 69 | 74 20 6e 6f 74 65 62 6f |else.exi|t notebo|
|00003b70| 6f 6b 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |ok.end i|f.if the|
|00003b80| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00003b90| 20 69 6e 20 66 6c 64 20 | 22 6e 6f 74 65 73 22 20 | in fld |"notes" |
|00003ba0| 3e 20 32 39 30 30 30 20 | 74 68 65 6e 0d 61 6e 73 |> 29000 |then.ans|
|00003bb0| 77 65 72 20 22 53 6f 72 | 72 79 2c 20 79 6f 75 72 |wer "Sor|ry, your|
|00003bc0| 20 6e 6f 74 65 62 6f 6f | 6b 20 69 73 20 74 6f 6f | noteboo|k is too|
|00003bd0| 20 66 75 6c 6c 20 74 6f | 20 73 61 76 65 20 61 6e | full to| save an|
|00003be0| 79 20 6d 6f 72 65 20 6e | 6f 74 65 73 2e 22 0d 65 |y more n|otes.".e|
|00003bf0| 6c 73 65 0d 70 75 74 20 | 70 6c 61 63 65 4e 61 6d |lse.put |placeNam|
|00003c00| 65 20 26 20 72 65 74 75 | 72 6e 20 26 20 6e 6f 74 |e & retu|rn & not|
|00003c10| 65 54 65 78 74 20 26 20 | 72 65 74 75 72 6e 20 26 |eText & |return &|
|00003c20| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 66 6c | return |after fl|
|00003c30| 64 20 22 6e 6f 74 65 73 | 22 0d 65 6e 64 20 69 66 |d "notes|".end if|
|00003c40| 0d 70 6f 70 20 63 61 72 | 64 0d 65 6c 73 65 20 69 |.pop car|d.else i|
|00003c50| 66 20 75 73 65 72 50 69 | 63 6b 65 64 20 69 73 20 |f userPi|cked is |
|00003c60| 22 54 65 6c 6c 20 41 70 | 70 6c 65 22 20 74 68 65 |"Tell Ap|ple" the|
|00003c70| 6e 0d 2d 2d 20 70 75 74 | 20 74 68 65 20 63 6f 6d |n.-- put| the com|
|00003c80| 6d 65 6e 74 20 69 6e 74 | 6f 20 41 70 70 6c 65 20 |ment int|o Apple |
|00003c90| 66 65 65 64 62 61 63 6b | 20 73 74 61 63 6b 20 28 |feedback| stack (|
|00003ca0| 63 6f 6d 6d 65 6e 74 73 | 29 0d 2d 2d 20 61 73 20 |comments|).-- as |
|00003cb0| 77 65 6c 6c 20 61 73 20 | 75 73 65 72 20 6e 6f 74 |well as |user not|
|00003cc0| 65 62 6f 6f 6b 0d 70 75 | 74 20 69 74 65 6d 20 32 |ebook.pu|t item 2|
|00003cd0| 20 6f 66 20 20 47 65 74 | 56 61 6c 75 65 28 22 49 | of Get|Value("I|
|00003ce0| 74 65 6d 22 2c 35 29 20 | 69 6e 74 6f 20 70 6c 61 |tem",5) |into pla|
|00003cf0| 63 65 4e 61 6d 65 0d 2d | 2d 20 74 68 65 20 6e 6f |ceName.-|- the no|
|00003d00| 74 65 20 74 69 6d 65 2f | 70 6c 61 63 65 20 73 74 |te time/|place st|
|00003d10| 61 6d 70 0d 70 75 74 20 | 47 65 74 56 61 6c 75 65 |amp.put |GetValue|
|00003d20| 28 22 49 74 65 6d 22 2c | 38 29 20 69 6e 74 6f 20 |("Item",|8) into |
|00003d30| 6e 6f 74 65 54 65 78 74 | 20 2d 2d 20 74 68 65 20 |noteText| -- the |
|00003d40| 61 63 74 75 61 6c 20 74 | 65 78 74 0d 64 65 6c 65 |actual t|ext.dele|
|00003d50| 74 65 20 69 74 65 6d 20 | 31 20 6f 66 20 6e 6f 74 |te item |1 of not|
|00003d60| 65 54 65 78 74 20 2d 2d | 20 64 6f 20 74 68 69 73 |eText --| do this|
|00003d70| 20 62 65 63 61 75 73 65 | 20 6f 66 20 74 65 78 74 | because| of text|
|00003d80| 20 63 6f 6d 6d 61 73 0d | 70 75 74 20 73 74 72 69 | commas.|put stri|
|00003d90| 70 52 65 74 75 72 6e 73 | 28 6e 6f 74 65 54 65 78 |pReturns|(noteTex|
|00003da0| 74 29 20 69 6e 74 6f 20 | 6e 6f 74 65 74 65 78 74 |t) into |notetext|
|00003db0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00003dc0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00003dd0| 6b 20 26 26 20 22 2a 22 | 20 26 26 20 74 68 65 20 |k && "*"| && the |
|00003de0| 69 64 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 6e |id of th|is cd in|
|00003df0| 74 6f 20 63 64 6e 61 6d | 65 0d 6b 69 6c 6c 57 69 |to cdnam|e.killWi|
|00003e00| 6e 64 6f 77 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |ndow.set| cursor |
|00003e10| 74 6f 20 77 61 74 63 68 | 0d 62 65 51 75 69 65 74 |to watch|.beQuiet|
|00003e20| 0d 67 6f 20 63 64 20 22 | 6e 6f 74 65 62 6f 6f 6b |.go cd "|notebook|
|00003e30| 22 20 6f 66 20 73 74 61 | 63 6b 20 22 4d 46 20 41 |" of sta|ck "MF A|
|00003e40| 70 70 6c 65 20 46 65 65 | 64 62 61 63 6b 22 0d 69 |pple Fee|dback".i|
|00003e50| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00003e60| 6e 6f 74 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 |not "" t|hen.put |
|00003e70| 22 53 6f 72 72 79 2c 74 | 68 65 20 41 70 70 6c 65 |"Sorry,t|he Apple|
|00003e80| 20 46 65 65 64 62 61 63 | 6b 20 73 74 61 63 6b 20 | Feedbac|k stack |
|00003e90| 69 73 20 6e 6f 74 20 61 | 76 61 69 6c 61 62 6c 65 |is not a|vailable|
|00003ea0| 20 66 6f 72 20 22 26 26 | c2 0d 22 74 61 6b 69 6e | for "&&|.."takin|
|00003eb0| 67 20 79 6f 75 72 20 63 | 6f 6d 6d 65 6e 74 73 2e |g your c|omments.|
|00003ec0| 22 20 69 6e 74 6f 20 73 | 74 72 69 6e 67 0d 61 6e |" into s|tring.an|
|00003ed0| 73 77 65 72 20 73 74 72 | 69 6e 67 20 77 69 74 68 |swer str|ing with|
|00003ee0| 20 22 4f 4b 22 0d 65 78 | 69 74 20 6e 6f 74 65 62 | "OK".ex|it noteb|
|00003ef0| 6f 6f 6b 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 |ook.end |if.if th|
|00003f00| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 72 |e number| of char|
|00003f10| 73 20 69 6e 20 66 6c 64 | 20 22 6e 6f 74 65 73 22 |s in fld| "notes"|
|00003f20| 20 3e 20 32 39 30 30 30 | 20 74 68 65 6e 0d 61 6e | > 29000| then.an|
|00003f30| 73 77 65 72 20 22 53 6f | 72 72 79 2c 20 74 68 65 |swer "So|rry, the|
|00003f40| 20 41 70 70 6c 65 20 46 | 65 65 64 62 61 63 6b 20 | Apple F|eedback |
|00003f50| 73 74 61 63 6b 20 69 73 | 20 74 6f 6f 20 66 75 6c |stack is| too ful|
|00003f60| 6c 20 74 6f 20 73 61 76 | 65 20 61 6e 79 20 6d 6f |l to sav|e any mo|
|00003f70| 72 65 20 6e 6f 74 65 73 | 2e 22 0d 65 6c 73 65 0d |re notes|.".else.|
|00003f80| 70 75 74 20 67 53 74 75 | 64 65 6e 74 4e 61 6d 65 |put gStu|dentName|
|00003f90| 20 26 20 72 65 74 75 72 | 6e 20 26 26 20 63 64 6e | & retur|n && cdn|
|00003fa0| 61 6d 65 20 26 26 20 72 | 65 74 75 72 6e 20 61 66 |ame && r|eturn af|
|00003fb0| 74 65 72 20 66 6c 64 20 | 22 6e 6f 74 65 73 22 0d |ter fld |"notes".|
|00003fc0| 70 75 74 20 70 6c 61 63 | 65 4e 61 6d 65 20 26 20 |put plac|eName & |
|00003fd0| 72 65 74 75 72 6e 20 26 | 20 6e 6f 74 65 54 65 78 |return &| noteTex|
|00003fe0| 74 20 26 20 72 65 74 75 | 72 6e 20 26 20 72 65 74 |t & retu|rn & ret|
|00003ff0| 75 72 6e 20 61 66 74 65 | 72 20 66 6c 64 20 22 6e |urn afte|r fld "n|
|00004000| 6f 74 65 73 22 0d 65 6e | 64 20 69 66 0d 72 65 74 |otes".en|d if.ret|
|00004010| 75 72 6e 51 75 69 65 74 | 0d 65 6c 73 65 20 69 66 |urnQuiet|.else if|
|00004020| 20 75 73 65 72 50 69 63 | 6b 65 64 20 69 73 20 22 | userPic|ked is "|
|00004030| 47 6f 20 74 6f 20 6e 6f | 74 65 62 6f 6f 6b 22 20 |Go to no|tebook" |
|00004040| 74 68 65 6e 20 2d 2d 20 | 6f 70 65 6e 20 74 68 65 |then -- |open the|
|00004050| 20 6e 6f 74 65 62 6f 6f | 6b 0d 73 65 74 20 63 75 | noteboo|k.set cu|
|00004060| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|00004070| 74 20 47 65 74 56 61 6c | 75 65 28 22 49 74 65 6d |t GetVal|ue("Item|
|00004080| 22 2c 38 29 20 69 6e 74 | 6f 20 6e 6f 74 65 54 65 |",8) int|o noteTe|
|00004090| 78 74 20 2d 2d 20 74 68 | 65 20 61 63 74 75 61 6c |xt -- th|e actual|
|000040a0| 20 74 65 78 74 0d 69 66 | 20 6e 6f 74 65 54 65 78 | text.if| noteTex|
|000040b0| 74 20 69 73 20 6e 6f 74 | 20 22 22 20 74 68 65 6e |t is not| "" then|
|000040c0| 0d 70 75 74 20 69 74 65 | 6d 20 32 20 6f 66 20 20 |.put ite|m 2 of |
|000040d0| 47 65 74 56 61 6c 75 65 | 28 22 49 74 65 6d 22 2c |GetValue|("Item",|
|000040e0| 35 29 20 69 6e 74 6f 20 | 70 6c 61 63 65 4e 61 6d |5) into |placeNam|
|000040f0| 65 0d 64 65 6c 65 74 65 | 20 69 74 65 6d 20 31 20 |e.delete| item 1 |
|00004100| 6f 66 20 6e 6f 74 65 54 | 65 78 74 20 2d 2d 20 64 |of noteT|ext -- d|
|00004110| 6f 20 74 68 69 73 20 62 | 65 63 61 75 73 65 20 6f |o this b|ecause o|
|00004120| 66 20 74 65 78 74 20 63 | 6f 6d 6d 61 73 0d 70 75 |f text c|ommas.pu|
|00004130| 74 20 73 74 72 69 70 52 | 65 74 75 72 6e 73 28 6e |t stripR|eturns(n|
|00004140| 6f 74 65 54 65 78 74 29 | 20 69 6e 74 6f 20 6e 6f |oteText)| into no|
|00004150| 74 65 74 65 78 74 0d 65 | 6e 64 20 69 66 0d 6b 69 |tetext.e|nd if.ki|
|00004160| 6c 6c 57 69 6e 64 6f 77 | 0d 69 66 20 67 6f 53 74 |llWindow|.if goSt|
|00004170| 75 64 65 6e 74 53 74 61 | 63 6b 28 22 61 73 6b 22 |udentSta|ck("ask"|
|00004180| 29 20 69 73 20 66 61 6c | 73 65 20 74 68 65 6e 20 |) is fal|se then |
|00004190| 65 78 69 74 20 6e 6f 74 | 65 62 6f 6f 6b 0d 67 6f |exit not|ebook.go|
|000041a0| 20 63 64 20 22 6e 6f 74 | 65 62 6f 6f 6b 22 0d 69 | cd "not|ebook".i|
|000041b0| 66 20 6e 6f 74 65 54 65 | 78 74 20 69 73 20 6e 6f |f noteTe|xt is no|
|000041c0| 74 20 22 22 20 74 68 65 | 6e 0d 70 75 74 20 70 6c |t "" the|n.put pl|
|000041d0| 61 63 65 4e 61 6d 65 20 | 26 20 72 65 74 75 72 6e |aceName |& return|
|000041e0| 20 26 20 6e 6f 74 65 54 | 65 78 74 20 26 20 72 65 | & noteT|ext & re|
|000041f0| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 61 66 |turn & r|eturn af|
|00004200| 74 65 72 20 66 6c 64 20 | 22 6e 6f 74 65 73 22 0d |ter fld |"notes".|
|00004210| 65 6e 64 20 69 66 0d 75 | 6e 6c 6f 63 6b 20 73 63 |end if.u|nlock sc|
|00004220| 72 65 65 6e 20 77 69 74 | 68 20 69 72 69 73 20 6f |reen wit|h iris o|
|00004230| 70 65 6e 0d 65 6c 73 65 | 20 2d 2d 20 6d 75 73 74 |pen.else| -- must|
|00004240| 20 62 65 20 43 61 6e 63 | 65 6c 0d 6b 69 6c 6c 57 | be Canc|el.killW|
|00004250| 69 6e 64 6f 77 0d 65 6e | 64 20 69 66 0d 65 6e 64 |indow.en|d if.end|
|00004260| 20 4e 6f 74 65 42 6f 6f | 6b 0d 0d 66 75 6e 63 74 | NoteBoo|k..funct|
|00004270| 69 6f 6e 20 73 74 72 69 | 70 52 65 74 75 72 6e 73 |ion stri|pReturns|
|00004280| 20 73 74 72 69 6e 67 0d | 72 65 70 65 61 74 0d 67 | string.|repeat.g|
|00004290| 65 74 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |et last |char of |
|000042a0| 73 74 72 69 6e 67 0d 69 | 66 20 69 74 20 3d 20 72 |string.i|f it = r|
|000042b0| 65 74 75 72 6e 20 74 68 | 65 6e 20 64 65 6c 65 74 |eturn th|en delet|
|000042c0| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 53 |e last c|har of S|
|000042d0| 74 72 69 6e 67 0d 65 6c | 73 65 20 65 78 69 74 20 |tring.el|se exit |
|000042e0| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|000042f0| 74 0d 72 65 74 75 72 6e | 20 73 74 72 69 6e 67 0d |t.return| string.|
|00004300| 65 6e 64 20 73 74 72 69 | 70 52 65 74 75 72 6e 73 |end stri|pReturns|
|00004310| 0d 0d 2d 2d 20 74 68 69 | 73 20 68 61 6e 64 6c 65 |..-- thi|s handle|
|00004320| 72 20 69 73 20 63 61 6c | 6c 65 64 20 66 72 6f 6d |r is cal|led from|
|00004330| 20 61 6c 6c 20 73 74 61 | 63 6b 73 0d 6f 6e 20 53 | all sta|cks.on S|
|00004340| 6e 61 70 73 68 6f 74 0d | 73 65 74 57 69 6e 64 6f |napshot.|setWindo|
|00004350| 77 20 31 0d 4e 65 77 57 | 69 6e 64 6f 77 20 32 39 |w 1.NewW|indow 29|
|00004360| 30 2c 32 32 32 2c 63 65 | 6e 74 65 72 65 64 2c 30 |0,222,ce|ntered,0|
|00004370| 2c 31 2c 22 53 6e 61 70 | 73 68 6f 74 20 44 69 61 |,1,"Snap|shot Dia|
|00004380| 6c 6f 67 22 2c 76 69 73 | 69 62 6c 65 0d 70 75 74 |log",vis|ible.put|
|00004390| 20 22 53 74 75 64 65 6e | 74 20 53 65 72 76 69 63 | "Studen|t Servic|
|000043a0| 65 73 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |es" & re|turn & "|
|000043b0| 53 6e 61 70 73 68 6f 74 | 22 20 69 6e 74 6f 20 74 |Snapshot|" into t|
|000043c0| 68 65 54 65 78 74 0d 4e | 65 77 49 74 65 6d 20 53 |heText.N|ewItem S|
|000043d0| 74 61 74 69 63 54 65 78 | 74 2c 35 39 2c 36 2c 31 |taticTex|t,59,6,1|
|000043e0| 39 32 2c 34 38 2c 74 68 | 65 54 65 78 74 2c 22 42 |92,48,th|eText,"B|
|000043f0| 20 67 61 72 61 6d 6f 6e | 64 20 62 6f 6c 64 22 2c | garamon|d bold",|
|00004400| 32 30 2c 70 6c 61 69 6e | 0d 2d 2d 20 69 74 65 6d |20,plain|.-- item|
|00004410| 20 31 0d 4e 65 77 49 74 | 65 6d 20 52 65 63 74 42 | 1.NewIt|em RectB|
|00004420| 75 74 74 6f 6e 2c 31 37 | 2c 38 2c 36 31 2c 34 35 |utton,17|,8,61,45|
|00004430| 2c c2 0d 22 4e 6f 74 41 | 63 74 69 76 65 22 2c 32 |,.."NotA|ctive",2|
|00004440| 36 34 37 35 2c 22 64 6f | 6e 74 69 6e 76 65 72 74 |6475,"do|ntinvert|
|00004450| 22 2c 65 6d 70 74 79 2c | 6e 6f 43 6f 6c 6f 72 2c |",empty,|noColor,|
|00004460| 22 22 2c 22 22 0d 2d 2d | 20 20 62 6f 6f 6b 6d 61 |"","".--| bookma|
|00004470| 72 6b 20 67 72 61 70 68 | 69 63 20 69 74 65 6d 20 |rk graph|ic item |
|00004480| 32 0d 4e 65 77 49 74 65 | 6d 20 52 65 63 74 61 6e |2.NewIte|m Rectan|
|00004490| 67 6c 65 2c 30 2c 35 33 | 2c 32 39 30 2c 35 34 2c |gle,0,53|,290,54,|
|000044a0| 31 20 2d 2d 20 69 74 65 | 6d 20 33 2c 20 64 65 63 |1 -- ite|m 3, dec|
|000044b0| 6f 72 61 74 69 76 65 20 | 72 75 6c 65 0d 4e 65 77 |orative |rule.New|
|000044c0| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|000044d0| 32 34 2c 36 30 2c 31 35 | 37 2c 37 39 2c c2 0d 22 |24,60,15|7,79,.."|
|000044e0| 53 6e 61 70 73 68 6f 74 | 20 69 6e 3a 22 2c 47 61 |Snapshot| in:",Ga|
|000044f0| 72 61 6d 6f 6e 64 2c 31 | 36 2c 70 6c 61 69 6e 20 |ramond,1|6,plain |
|00004500| 2d 2d 20 69 74 65 6d 20 | 34 0d 4e 65 77 49 74 65 |-- item |4.NewIte|
|00004510| 6d 20 53 74 61 74 69 63 | 54 65 78 74 2c 32 34 2b |m Static|Text,24+|
|00004520| 33 2c 37 39 2c 32 36 30 | 2c 39 35 2c c2 0d 6d 61 |3,79,260|,95,..ma|
|00004530| 6b 65 53 74 61 6d 70 28 | 29 2c 22 43 68 69 63 61 |keStamp(|),"Chica|
|00004540| 67 6f 22 2c 31 32 2c 70 | 6c 61 69 6e 20 2d 2d 20 |go",12,p|lain -- |
|00004550| 69 74 65 6d 20 35 0d 4e | 65 77 49 74 65 6d 20 52 |item 5.N|ewItem R|
|00004560| 65 63 74 61 6e 67 6c 65 | 2c 32 34 2c 37 38 2c 32 |ectangle|,24,78,2|
|00004570| 36 38 2c 39 37 2c 31 20 | 2d 2d 49 74 65 6d 20 36 |68,97,1 |--Item 6|
|00004580| 0d 4e 65 77 49 74 65 6d | 20 53 74 61 74 69 63 54 |.NewItem| StaticT|
|00004590| 65 78 74 2c 32 34 2c 31 | 30 33 2c 32 36 38 2c 31 |ext,24,1|03,268,1|
|000045a0| 32 33 2c c2 0d 22 53 6e | 61 70 73 68 6f 74 20 6e |23,.."Sn|apshot n|
|000045b0| 61 6d 65 20 28 6f 70 74 | 69 6f 6e 61 6c 29 3a 22 |ame (opt|ional):"|
|000045c0| 2c 47 61 72 61 6d 6f 6e | 64 2c 31 36 2c 70 6c 61 |,Garamon|d,16,pla|
|000045d0| 69 6e 20 2d 2d 20 69 74 | 65 6d 20 37 0d 4e 65 77 |in -- it|em 7.New|
|000045e0| 49 74 65 6d 20 45 64 69 | 74 54 65 78 74 2c 32 34 |Item Edi|tText,24|
|000045f0| 2c 31 32 30 2c 32 36 38 | 2c 31 34 31 2c c2 0d 65 |,120,268|,141,..e|
|00004600| 6d 70 74 79 2c 22 43 68 | 69 63 61 67 6f 22 2c 31 |mpty,"Ch|icago",1|
|00004610| 32 2c 70 6c 61 69 6e 2c | 6e 6f 53 63 72 6f 6c 6c |2,plain,|noScroll|
|00004620| 2c 68 61 73 43 75 72 73 | 6f 72 20 2d 2d 20 69 74 |,hasCurs|or -- it|
|00004630| 65 6d 20 38 0d 4e 65 77 | 49 74 65 6d 20 52 6f 75 |em 8.New|Item Rou|
|00004640| 6e 64 42 75 74 74 6f 6e | 2c 32 34 2c 31 36 31 2c |ndButton|,24,161,|
|00004650| 31 34 30 2c 31 38 37 2c | c2 0d 22 54 61 6b 65 20 |140,187,|.."Take |
|00004660| 53 6e 61 70 73 68 6f 74 | 22 2c 31 33 2c 6e 6f 43 |Snapshot|",13,noC|
|00004670| 6f 6d 6d 61 6e 64 2c 22 | 22 20 2d 2d 20 69 74 65 |ommand,"|" -- ite|
|00004680| 6d 20 38 0d 4e 65 77 49 | 74 65 6d 20 52 6f 75 6e |m 8.NewI|tem Roun|
|00004690| 64 42 75 74 74 6f 6e 2c | 31 35 32 2c 31 36 34 2c |dButton,|152,164,|
|000046a0| 32 36 38 2c 31 38 34 20 | 2c c2 0d 22 50 72 69 6e |268,184 |,.."Prin|
|000046b0| 74 20 53 6e 61 70 73 68 | 6f 74 22 2c 31 34 2c 6e |t Snapsh|ot",14,n|
|000046c0| 6f 43 6f 6d 6d 61 6e 64 | 2c 22 22 20 2d 2d 20 69 |oCommand|,"" -- i|
|000046d0| 74 65 6d 20 39 0d 4e 65 | 77 49 74 65 6d 20 52 6f |tem 9.Ne|wItem Ro|
|000046e0| 75 6e 64 42 75 74 74 6f | 6e 2c 32 34 2c 31 39 36 |undButto|n,24,196|
|000046f0| 2c 31 34 30 2c 32 31 36 | 2c c2 0d 22 56 69 65 77 |,140,216|,.."View|
|00004700| 20 53 6e 61 70 73 68 6f | 74 73 22 2c 31 34 2c 6e | Snapsho|ts",14,n|
|00004710| 6f 43 6f 6d 6d 61 6e 64 | 2c 22 22 20 2d 2d 20 69 |oCommand|,"" -- i|
|00004720| 74 65 6d 20 31 30 0d 4e | 65 77 49 74 65 6d 20 52 |tem 10.N|ewItem R|
|00004730| 6f 75 6e 64 42 75 74 74 | 6f 6e 2c 31 35 32 2c 31 |oundButt|on,152,1|
|00004740| 39 36 2c 32 36 38 2c 32 | 31 36 2c c2 0d 22 43 61 |96,268,2|16,.."Ca|
|00004750| 6e 63 65 6c 22 2c 63 68 | 61 72 54 6f 4e 75 6d 28 |ncel",ch|arToNum(|
|00004760| 22 2e 22 29 2c 43 6f 6d | 6d 61 6e 64 2c 22 22 20 |"."),Com|mand,"" |
|00004770| 2d 2d 20 69 74 65 6d 20 | 31 31 0d 0d 73 65 74 20 |-- item |11..set |
|00004780| 63 75 72 73 6f 72 20 74 | 6f 20 61 72 72 6f 77 0d |cursor t|o arrow.|
|00004790| 67 65 74 20 20 44 69 73 | 70 6c 61 79 20 28 31 38 |get Dis|play (18|
|000047a0| 30 2c 31 29 0d 0d 2d 2d | 20 4b 69 6c 6c 20 74 68 |0,1)..--| Kill th|
|000047b0| 65 20 77 69 6e 64 6f 77 | 20 61 66 74 65 72 20 61 |e window| after a|
|000047c0| 20 74 69 6d 65 6f 75 74 | 0d 69 66 20 69 74 20 3d | timeout|.if it =|
|000047d0| 20 22 74 69 6d 65 6f 75 | 74 22 20 74 68 65 6e 0d | "timeou|t" then.|
|000047e0| 2d 2d 20 64 65 6c 65 74 | 65 20 6c 61 73 74 20 69 |-- delet|e last i|
|000047f0| 74 65 6d 20 6f 66 20 77 | 68 65 72 65 57 65 43 61 |tem of w|hereWeCa|
|00004800| 6d 65 46 72 6f 6d 0d 6b | 69 6c 6c 57 69 6e 64 6f |meFrom.k|illWindo|
|00004810| 77 0d 72 65 74 75 72 6e | 20 22 63 61 6e 63 65 6c |w.return| "cancel|
|00004820| 22 0d 65 6e 64 20 69 66 | 0d 0d 2d 2d 20 69 66 20 |".end if|..-- if |
|00004830| 69 74 20 64 69 64 6e 27 | 74 20 74 69 6d 65 20 6f |it didn'|t time o|
|00004840| 75 74 2c 20 73 65 65 20 | 77 68 61 74 20 74 68 65 |ut, see |what the|
|00004850| 20 75 73 65 72 20 63 68 | 6f 73 65 0d 70 75 74 20 | user ch|ose.put |
|00004860| 69 74 65 6d 20 34 20 6f | 66 20 69 74 20 69 6e 74 |item 4 o|f it int|
|00004870| 6f 20 75 73 65 72 50 69 | 63 6b 65 64 0d 69 66 20 |o userPi|cked.if |
|00004880| 75 73 65 72 50 69 63 6b | 65 64 20 69 73 20 22 54 |userPick|ed is "T|
|00004890| 61 6b 65 20 73 6e 61 70 | 73 68 6f 74 22 20 74 68 |ake snap|shot" th|
|000048a0| 65 6e 20 2d 2d 20 74 61 | 6b 65 20 73 6e 61 70 73 |en -- ta|ke snaps|
|000048b0| 68 6f 74 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |hot.set |cursor t|
|000048c0| 6f 20 77 61 74 63 68 0d | 70 75 74 20 69 74 65 6d |o watch.|put item|
|000048d0| 20 32 20 6f 66 20 20 47 | 65 74 56 61 6c 75 65 28 | 2 of G|etValue(|
|000048e0| 22 49 74 65 6d 22 2c 35 | 29 20 69 6e 74 6f 20 73 |"Item",5|) into s|
|000048f0| 68 6f 74 4e 61 6d 65 0d | 67 65 74 20 69 74 65 6d |hotName.|get item|
|00004900| 20 32 20 6f 66 20 67 65 | 74 56 61 6c 75 65 28 22 | 2 of ge|tValue("|
|00004910| 49 74 65 6d 22 2c 38 29 | 0d 69 66 20 69 74 20 69 |Item",8)|.if it i|
|00004920| 73 20 6e 6f 74 20 22 22 | 20 74 68 65 6e 20 70 75 |s not ""| then pu|
|00004930| 74 20 22 20 a5 20 22 20 | 26 20 69 74 20 61 66 74 |t " . " |& it aft|
|00004940| 65 72 20 73 68 6f 74 4e | 61 6d 65 0d 6b 69 6c 6c |er shotN|ame.kill|
|00004950| 57 69 6e 64 6f 77 0d 6d | 61 6b 65 53 6e 61 70 53 |Window.m|akeSnapS|
|00004960| 68 6f 74 20 73 68 6f 74 | 4e 61 6d 65 0d 0d 65 6c |hot shot|Name..el|
|00004970| 73 65 20 69 66 20 75 73 | 65 72 50 69 63 6b 65 64 |se if us|erPicked|
|00004980| 20 69 73 20 22 50 72 69 | 6e 74 20 53 6e 61 70 73 | is "Pri|nt Snaps|
|00004990| 68 6f 74 22 20 74 68 65 | 6e 0d 64 6f 6d 65 6e 75 |hot" the|n.domenu|
|000049a0| 20 22 70 72 69 6e 74 20 | 63 61 72 64 22 20 2d 2d | "print |card" --|
|000049b0| 20 70 72 69 6e 74 20 73 | 63 72 65 65 6e 0d 6b 69 | print s|creen.ki|
|000049c0| 6c 6c 57 69 6e 64 6f 77 | 0d 65 6c 73 65 20 69 66 |llWindow|.else if|
|000049d0| 20 75 73 65 72 50 69 63 | 6b 65 64 20 69 73 20 22 | userPic|ked is "|
|000049e0| 56 69 65 77 20 53 6e 61 | 70 73 68 6f 74 73 22 20 |View Sna|pshots" |
|000049f0| 74 68 65 6e 20 2d 2d 20 | 6e 65 77 20 73 6e 61 70 |then -- |new snap|
|00004a00| 73 68 6f 74 20 64 69 73 | 6b 0d 6b 69 6c 6c 57 69 |shot dis|k.killWi|
|00004a10| 6e 64 6f 77 0d 62 65 71 | 75 69 65 74 0d 67 65 74 |ndow.beq|uiet.get|
|00004a20| 20 67 6f 53 6e 61 70 73 | 68 6f 74 28 29 0d 65 6c | goSnaps|hot().el|
|00004a30| 73 65 20 2d 2d 20 6d 75 | 73 74 20 62 65 20 43 61 |se -- mu|st be Ca|
|00004a40| 6e 63 65 6c 0d 6b 69 6c | 6c 57 69 6e 64 6f 77 0d |ncel.kil|lWindow.|
|00004a50| 65 6e 64 20 69 66 0d 65 | 6e 64 20 53 6e 61 70 73 |end if.e|nd Snaps|
|00004a60| 68 6f 74 0d 0d 6f 6e 20 | 6d 61 6b 65 53 6e 61 70 |hot..on |makeSnap|
|00004a70| 53 68 6f 74 20 73 68 6f | 74 4e 61 6d 65 0d 73 65 |Shot sho|tName.se|
|00004a80| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00004a90| 68 0d 62 65 51 75 69 65 | 74 0d 75 6e 6c 6f 63 6b |h.beQuie|t.unlock|
|00004aa0| 20 73 63 72 65 65 6e 20 | 2d 2d 20 66 6f 72 20 72 | screen |-- for r|
|00004ab0| 65 66 72 65 73 68 2c 20 | 73 69 6e 63 65 20 77 65 |efresh, |since we|
|00004ac0| 27 72 65 20 74 61 6b 69 | 6e 67 20 61 20 70 69 63 |'re taki|ng a pic|
|00004ad0| 74 75 72 65 20 6f 66 20 | 69 74 0d 6c 6f 63 6b 20 |ture of |it.lock |
|00004ae0| 73 63 72 65 65 6e 0d 43 | 6f 70 79 53 63 72 65 65 |screen.C|opyScree|
|00004af0| 6e 0d 69 66 20 67 6f 53 | 6e 61 70 73 68 6f 74 28 |n.if goS|napshot(|
|00004b00| 29 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 0d 67 |) is tru|e then.g|
|00004b10| 6f 20 6c 61 73 74 20 63 | 64 0d 73 65 6e 64 20 22 |o last c|d.send "|
|00004b20| 74 61 6b 65 53 6e 61 70 | 53 68 6f 74 20 73 68 6f |takeSnap|Shot sho|
|00004b30| 74 4e 61 6d 65 22 20 74 | 6f 20 74 68 69 73 20 62 |tName" t|o this b|
|00004b40| 67 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 61 6b |g.end if|.end mak|
|00004b50| 65 53 6e 61 70 73 68 6f | 74 0d 0d 66 75 6e 63 74 |eSnapsho|t..funct|
|00004b60| 69 6f 6e 20 6d 61 6b 65 | 53 74 61 6d 70 0d 2d 2d |ion make|Stamp.--|
|00004b70| 20 6d 61 6b 65 20 61 20 | 6d 6f 64 75 6c 65 2c 64 | make a |module,d|
|00004b80| 61 74 65 20 61 6e 64 20 | 74 69 6d 65 20 73 74 61 |ate and |time sta|
|00004b90| 63 6b 20 66 6f 72 20 62 | 6f 6f 6b 6d 61 72 6b 73 |ck for b|ookmarks|
|00004ba0| 2c 73 6e 61 70 73 68 6f | 74 73 20 61 6e 64 20 6e |,snapsho|ts and n|
|00004bb0| 6f 74 65 73 0d 70 75 74 | 20 74 68 65 20 73 68 6f |otes.put| the sho|
|00004bc0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004bd0| 73 74 61 63 6b 20 69 6e | 74 6f 20 73 74 61 6d 70 |stack in|to stamp|
|00004be0| 0d 0d 70 75 74 20 74 68 | 65 20 73 68 6f 72 74 20 |..put th|e short |
|00004bf0| 64 61 74 65 20 69 6e 74 | 6f 20 74 6f 64 61 79 0d |date int|o today.|
|00004c00| 67 65 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |get the |number o|
|00004c10| 66 20 63 68 61 72 73 20 | 69 6e 20 74 6f 64 61 79 |f chars |in today|
|00004c20| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 28 69 74 |.delete |char (it|
|00004c30| 2d 32 29 20 74 6f 20 69 | 74 20 6f 66 20 74 6f 64 |-2) to i|t of tod|
|00004c40| 61 79 20 2d 2d 20 64 6f | 6e 27 74 20 6e 65 65 64 |ay -- do|n't need|
|00004c50| 20 74 68 65 20 79 65 61 | 72 0d 70 75 74 20 22 20 | the yea|r.put " |
|00004c60| a5 22 20 26 26 20 74 6f | 64 61 79 20 26 26 20 22 |." && to|day && "|
|00004c70| 61 74 20 22 20 61 66 74 | 65 72 20 73 74 61 6d 70 |at " aft|er stamp|
|00004c80| 0d 70 75 74 20 74 68 65 | 20 74 69 6d 65 20 69 6e |.put the| time in|
|00004c90| 74 6f 20 74 69 6d 65 53 | 74 61 6d 70 0d 67 65 74 |to timeS|tamp.get|
|00004ca0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00004cb0| 68 61 72 73 20 69 6e 20 | 74 69 6d 65 53 74 61 6d |hars in |timeStam|
|00004cc0| 70 0d 70 75 74 20 63 68 | 61 72 20 28 69 74 2d 31 |p.put ch|ar (it-1|
|00004cd0| 29 20 74 6f 20 69 74 20 | 6f 66 20 74 69 6d 65 53 |) to it |of timeS|
|00004ce0| 74 61 6d 70 20 69 6e 74 | 6f 20 74 6f 64 0d 69 66 |tamp int|o tod.if|
|00004cf0| 20 74 6f 64 20 3d 20 22 | 50 4d 22 20 74 68 65 6e | tod = "|PM" then|
|00004d00| 20 70 75 74 20 22 70 6d | 22 20 69 6e 74 6f 20 74 | put "pm|" into t|
|00004d10| 6f 64 0d 65 6c 73 65 20 | 69 66 20 74 6f 64 20 3d |od.else |if tod =|
|00004d20| 20 22 41 4d 22 20 74 68 | 65 6e 20 70 75 74 20 22 | "AM" th|en put "|
|00004d30| 61 6d 22 20 69 6e 74 6f | 20 74 6f 64 0d 70 75 74 |am" into| tod.put|
|00004d40| 20 74 6f 64 20 69 6e 74 | 6f 20 63 68 61 72 20 28 | tod int|o char (|
|00004d50| 69 74 2d 31 29 20 74 6f | 20 69 74 20 6f 66 20 74 |it-1) to| it of t|
|00004d60| 69 6d 65 53 74 61 6d 70 | 0d 70 75 74 20 74 69 6d |imeStamp|.put tim|
|00004d70| 65 53 74 61 6d 70 20 61 | 66 74 65 72 20 73 74 61 |eStamp a|fter sta|
|00004d80| 6d 70 0d 72 65 74 75 72 | 6e 20 73 74 61 6d 70 0d |mp.retur|n stamp.|
|00004d90| 65 6e 64 20 6d 61 6b 65 | 53 74 61 6d 70 0d 0d 6f |end make|Stamp..o|
|00004da0| 6e 20 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 2d 2d 20 |n killWi|ndow.-- |
|00004db0| 66 72 65 65 20 6d 65 6d | 6f 72 79 20 28 74 65 6d |free mem|ory (tem|
|00004dc0| 70 6f 72 61 72 79 2c 20 | 75 6e 74 69 6c 20 6b 69 |porary, |until ki|
|00004dd0| 6c 6c 41 6c 6c 20 77 6f | 72 6b 73 29 20 2a 2a 0d |llAll wo|rks) **.|
|00004de0| 53 65 74 57 69 6e 64 6f | 77 20 31 0d 4e 65 77 57 |SetWindo|w 1.NewW|
|00004df0| 69 6e 64 6f 77 20 35 30 | 2c 35 30 2c 63 65 6e 74 |indow 50|,50,cent|
|00004e00| 65 72 65 64 2c 30 2c 31 | 2c 22 22 2c 69 6e 76 69 |ered,0,1|,"",invi|
|00004e10| 73 69 62 6c 65 0d 67 6f | 20 74 68 69 73 20 63 64 |sible.go| this cd|
|00004e20| 20 2d 2d 20 6b 76 73 20 | 61 64 64 65 64 20 74 6f | -- kvs |added to|
|00004e30| 20 72 65 66 72 65 73 68 | 20 73 63 72 65 65 6e 0d | refresh| screen.|
|00004e40| 65 6e 64 20 6b 69 6c 6c | 57 69 6e 64 6f 77 0d 0d |end kill|Window..|
|00004e50| 2d 2d 20 4d 41 50 0d 6f | 6e 20 4d 61 70 0d 67 6c |-- MAP.o|n Map.gl|
|00004e60| 6f 62 61 6c 20 67 54 6f | 54 68 65 4d 61 70 0d 73 |obal gTo|TheMap.s|
|00004e70| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00004e80| 63 68 0d 70 75 74 20 67 | 65 74 43 61 72 64 4e 61 |ch.put g|etCardNa|
|00004e90| 6d 65 28 29 20 69 6e 74 | 6f 20 67 54 6f 54 68 65 |me() int|o gToThe|
|00004ea0| 4d 61 70 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |Map.lock| screen.|
|00004eb0| 67 6f 20 22 4d 46 20 4d | 61 70 22 0d 75 6e 6c 6f |go "MF M|ap".unlo|
|00004ec0| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 69 |ck scree|n with i|
|00004ed0| 72 69 73 20 6f 70 65 6e | 0d 65 6e 64 20 4d 61 70 |ris open|.end Map|
|00004ee0| 0d 0d 2d 2d 2d 20 48 45 | 4c 50 0d 6f 6e 20 48 65 |..--- HE|LP.on He|
|00004ef0| 6c 70 0d 70 75 73 68 20 | 63 61 72 64 0d 6c 6f 63 |lp.push |card.loc|
|00004f00| 6b 20 73 63 72 65 65 6e | 0d 67 6f 20 73 74 61 63 |k screen|.go stac|
|00004f10| 6b 20 22 4d 46 20 48 65 | 6c 70 22 0d 75 6e 6c 6f |k "MF He|lp".unlo|
|00004f20| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 69 |ck scree|n with i|
|00004f30| 72 69 73 20 6f 70 65 6e | 0d 73 65 6e 64 20 6f 70 |ris open|.send op|
|00004f40| 65 6e 41 63 74 69 6f 6e | 20 74 6f 20 74 68 69 73 |enAction| to this|
|00004f50| 20 63 64 0d 65 6e 64 20 | 48 65 6c 70 0d 0d 6f 6e | cd.end |Help..on|
|00004f60| 20 47 6c 6f 73 73 61 72 | 79 0d 70 75 73 68 20 63 | Glossar|y.push c|
|00004f70| 61 72 64 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ard.lock| screen.|
|00004f80| 67 6f 20 74 6f 20 63 61 | 72 64 20 22 47 6c 6f 73 |go to ca|rd "Glos|
|00004f90| 73 61 72 79 42 72 6f 77 | 73 65 72 22 20 6f 66 20 |saryBrow|ser" of |
|00004fa0| 73 74 61 63 6b 20 22 4d | 46 20 47 6c 6f 73 73 61 |stack "M|F Glossa|
|00004fb0| 72 79 22 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |ry".unlo|ck scree|
|00004fc0| 6e 20 77 69 74 68 20 69 | 72 69 73 20 6f 70 65 6e |n with i|ris open|
|00004fd0| 0d 65 6e 64 20 47 6c 6f | 73 73 61 72 79 0d 0d 6f |.end Glo|ssary..o|
|00004fe0| 6e 20 72 65 66 72 65 73 | 68 0d 70 75 74 20 74 68 |n refres|h.put th|
|00004ff0| 65 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 69 6e 74 |e locksc|reen int|
|00005000| 6f 20 73 61 76 65 4c 0d | 75 6e 6c 6f 63 6b 20 73 |o saveL.|unlock s|
|00005010| 63 72 65 65 6e 0d 67 6f | 20 74 68 69 73 20 43 64 |creen.go| this Cd|
|00005020| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 6b 73 63 72 |.set the| lockscr|
|00005030| 65 65 6e 20 74 6f 20 73 | 61 76 65 4c 0d 65 6e 64 |een to s|aveL.end|
|00005040| 20 72 65 66 72 65 73 68 | 0d 0d 2d 2d 20 65 6e 64 | refresh|..-- end|
|00005050| 20 6f 66 20 73 74 75 64 | 65 6e 74 20 6f 70 74 69 | of stud|ent opti|
|00005060| 6f 6e 73 0d 0d 2d 2d 2f | 20 66 6f 72 20 73 65 6c |ons..--/| for sel|
|00005070| 66 61 73 73 65 73 73 6d | 65 6e 74 73 0d 2d 2d 2f |fassessm|ents.--/|
|00005080| 20 41 6c 6c 20 53 65 6c | 6c 2d 41 73 73 65 73 73 | All Sel|l-Assess|
|00005090| 6d 65 6e 74 20 62 61 63 | 6b 67 72 6f 75 6e 64 73 |ment bac|kgrounds|
|000050a0| 20 73 68 6f 75 6c 64 20 | 62 65 20 6e 61 6d 65 64 | should |be named|
|000050b0| 20 73 74 61 72 74 69 6e | 67 20 77 69 74 68 20 22 | startin|g with "|
|000050c0| a7 8c 22 0d 0d 6f 6e 20 | 63 6c 6f 73 65 42 61 63 |.."..on |closeBac|
|000050d0| 6b 67 72 6f 75 6e 64 0d | 67 6c 6f 62 61 6c 20 67 |kground.|global g|
|000050e0| 42 61 63 6b 67 72 6f 75 | 6e 64 4e 61 6d 65 0d 70 |Backgrou|ndName.p|
|000050f0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |ut the s|hort nam|
|00005100| 65 20 6f 66 20 74 68 69 | 73 20 62 67 20 69 6e 74 |e of thi|s bg int|
|00005110| 6f 20 67 42 61 63 6b 67 | 72 6f 75 6e 64 4e 61 6d |o gBackg|roundNam|
|00005120| 65 0d 65 6e 64 20 63 6c | 6f 73 65 42 61 63 6b 67 |e.end cl|oseBackg|
|00005130| 72 6f 75 6e 64 0d 0d 6f | 6e 20 6f 70 65 6e 42 61 |round..o|n openBa|
|00005140| 63 6b 67 72 6f 75 6e 64 | 0d 67 6c 6f 62 61 6c 20 |ckground|.global |
|00005150| 67 42 61 63 6b 67 72 6f | 75 6e 64 4e 61 6d 65 2c |gBackgro|undName,|
|00005160| 67 53 74 61 63 6b 4e 61 | 6d 65 2c 53 41 45 76 61 |gStackNa|me,SAEva|
|00005170| 6c 44 61 74 61 2c 67 4e | 6f 44 69 73 6b 0d 69 66 |lData,gN|oDisk.if|
|00005180| 20 67 42 61 63 6b 67 72 | 6f 75 6e 64 4e 61 6d 65 | gBackgr|oundName|
|00005190| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 61 6e | is not |empty an|
|000051a0| 64 20 53 41 45 76 61 6c | 44 61 74 61 20 69 73 20 |d SAEval|Data is |
|000051b0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 69 |not empt|y then.i|
|000051c0| 66 20 63 68 61 72 20 31 | 20 74 6f 20 32 20 6f 66 |f char 1| to 2 of|
|000051d0| 20 67 42 61 63 6b 67 72 | 6f 75 6e 64 4e 61 6d 65 | gBackgr|oundName|
|000051e0| 20 69 73 20 22 a7 8c 22 | 20 61 6e 64 20 c2 0d 63 | is ".."| and ..c|
|000051f0| 68 61 72 20 31 20 74 6f | 20 32 20 6f 66 20 74 68 |har 1 to| 2 of th|
|00005200| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00005210| 74 68 69 73 20 62 67 20 | 69 73 20 6e 6f 74 20 22 |this bg |is not "|
|00005220| a7 8c 22 20 74 68 65 6e | 0d 69 66 20 67 4e 6f 44 |.." then|.if gNoD|
|00005230| 69 73 6b 20 69 73 20 6e | 6f 74 20 22 74 72 75 65 |isk is n|ot "true|
|00005240| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 73 |" then.p|ut the s|
|00005250| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00005260| 73 20 63 64 20 69 6e 74 | 6f 20 66 69 6e 61 6c 63 |s cd int|o finalc|
|00005270| 61 72 64 6e 61 6d 65 0d | 70 75 74 20 74 68 65 20 |ardname.|put the |
|00005280| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00005290| 69 73 20 73 74 61 63 6b | 20 69 6e 74 6f 20 67 53 |is stack| into gS|
|000052a0| 74 61 63 6b 4e 61 6d 65 | 0d 64 6f 57 61 72 6e 69 |tackName|.doWarni|
|000052b0| 6e 67 20 2d 2d 20 69 66 | 20 74 68 65 79 20 61 72 |ng -- if| they ar|
|000052c0| 65 20 75 73 69 6e 67 20 | 61 20 73 74 75 64 65 6e |e using |a studen|
|000052d0| 74 20 64 69 73 6b 2c 20 | 70 75 74 20 75 70 20 6d |t disk, |put up m|
|000052e0| 73 67 0d 72 65 66 72 65 | 73 68 0d 69 66 20 67 6f |sg.refre|sh.if go|
|000052f0| 53 74 75 64 65 6e 74 53 | 74 61 63 6b 28 29 20 69 |StudentS|tack() i|
|00005300| 73 20 22 74 72 75 65 22 | 20 74 68 65 6e 0d 67 6f |s "true"| then.go|
|00005310| 20 74 6f 20 63 64 20 72 | 65 70 6f 72 74 0d 73 65 | to cd r|eport.se|
|00005320| 6e 64 20 6c 69 73 74 52 | 65 73 75 6c 74 73 20 74 |nd listR|esults t|
|00005330| 6f 20 74 68 69 73 20 63 | 61 72 64 0d 67 6f 20 74 |o this c|ard.go t|
|00005340| 6f 20 63 64 20 66 69 6e | 61 6c 43 61 72 64 6e 61 |o cd fin|alCardna|
|00005350| 6d 65 20 6f 66 20 67 73 | 74 61 63 6b 6e 61 6d 65 |me of gs|tackname|
|00005360| 0d 65 6e 64 20 69 66 0d | 6b 69 6c 6c 57 61 72 6e |.end if.|killWarn|
|00005370| 69 6e 67 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ing.end |if.end i|
|00005380| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6f 70 65 |f.end if|.end ope|
|00005390| 6e 42 61 63 6b 67 72 6f | 75 6e 64 0d 0d 6f 6e 20 |nBackgro|und..on |
|000053a0| 64 6f 57 61 72 6e 69 6e | 67 0d 69 66 20 74 68 65 |doWarnin|g.if the|
|000053b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 20 66 6c | number |of cd fl|
|000053c0| 64 73 20 3e 20 30 20 74 | 68 65 6e 0d 69 66 20 66 |ds > 0 t|hen.if f|
|000053d0| 69 6e 64 46 69 65 6c 64 | 28 22 57 61 72 6e 69 6e |indField|("Warnin|
|000053e0| 67 22 29 20 69 73 20 6e | 6f 74 20 66 61 6c 73 65 |g") is n|ot false|
|000053f0| 20 74 68 65 6e 0d 73 68 | 6f 77 20 63 64 20 66 6c | then.sh|ow cd fl|
|00005400| 64 20 22 57 61 72 6e 69 | 6e 67 22 0d 75 6e 6c 6f |d "Warni|ng".unlo|
|00005410| 63 6b 20 73 63 72 65 65 | 6e 0d 65 78 69 74 20 64 |ck scree|n.exit d|
|00005420| 6f 57 61 72 6e 69 6e 67 | 0d 65 6e 64 20 69 66 0d |oWarning|.end if.|
|00005430| 65 6e 64 20 69 66 0d 6c | 6f 63 6b 20 73 63 72 65 |end if.l|ock scre|
|00005440| 65 6e 0d 70 75 74 20 6d | 61 6b 65 4c 69 6e 65 73 |en.put m|akeLines|
|00005450| 28 20 c2 0d 22 22 2c c2 | 0d 22 53 61 76 69 6e 67 |( .."",.|."Saving|
|00005460| 20 74 68 65 20 72 65 73 | 75 6c 74 73 20 6f 66 20 | the res|ults of |
|00005470| 79 6f 75 72 20 53 65 6c | 66 2d 41 73 73 65 73 73 |your Sel|f-Assess|
|00005480| 6d 65 6e 74 2e 2e 2e 22 | 2c 20 c2 0d 22 70 6c 65 |ment..."|, .."ple|
|00005490| 61 73 65 20 77 61 69 74 | 2e 22 29 20 69 6e 74 6f |ase wait|.") into|
|000054a0| 20 6d 65 6e 75 4c 69 73 | 74 0d 6d 61 6b 65 43 61 | menuLis|t.makeCa|
|000054b0| 72 64 46 69 65 6c 64 20 | 6e 61 6d 65 2c 20 22 57 |rdField |name, "W|
|000054c0| 61 72 6e 69 6e 67 22 2c | 20 c2 0d 77 69 64 74 68 |arning",| ..width|
|000054d0| 2c 20 33 32 30 2c 20 68 | 65 69 67 68 74 2c 38 32 |, 320, h|eight,82|
|000054e0| 2c 20 c2 0d 74 6f 70 4c | 65 66 74 2c 20 22 39 32 |, ..topL|eft, "92|
|000054f0| 2c 37 38 22 2c c2 0d 6c | 6f 63 6b 54 65 78 74 2c |,78",..l|ockText,|
|00005500| 20 74 72 75 65 2c 20 74 | 65 78 74 46 6f 6e 74 2c | true, t|extFont,|
|00005510| 20 22 65 72 61 73 20 64 | 65 6d 69 22 2c 20 c2 0d | "eras d|emi", ..|
|00005520| 74 65 78 74 53 69 7a 65 | 2c 31 34 2c 73 74 79 6c |textSize|,14,styl|
|00005530| 65 2c 20 22 73 68 61 64 | 6f 77 22 2c 20 74 65 78 |e, "shad|ow", tex|
|00005540| 74 61 6c 69 67 6e 2c 20 | 6c 65 66 74 2c 20 77 69 |talign, |left, wi|
|00005550| 64 65 4d 61 72 67 69 6e | 73 2c 74 72 75 65 0d 70 |deMargin|s,true.p|
|00005560| 75 74 20 6d 65 6e 75 4c | 69 73 74 20 69 6e 74 6f |ut menuL|ist into|
|00005570| 20 6c 61 73 74 20 63 64 | 20 66 6c 64 0d 70 75 74 | last cd| fld.put|
|00005580| 20 22 6f 6e 20 6d 6f 75 | 73 65 55 70 22 20 26 20 | "on mou|seUp" & |
|00005590| 72 65 74 75 72 6e 20 26 | 20 22 68 69 64 65 20 6d |return &| "hide m|
|000055a0| 65 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 65 |e" & ret|urn & "e|
|000055b0| 6e 64 20 6d 6f 75 73 65 | 55 70 22 20 69 6e 74 6f |nd mouse|Up" into|
|000055c0| 20 73 74 72 69 6e 67 0d | 73 65 74 20 74 68 65 20 | string.|set the |
|000055d0| 73 63 72 69 70 74 20 6f | 66 20 6c 61 73 74 20 63 |script o|f last c|
|000055e0| 64 20 66 6c 64 20 74 6f | 20 73 74 72 69 6e 67 0d |d fld to| string.|
|000055f0| 63 68 6f 6f 73 65 20 62 | 72 6f 77 73 65 20 74 6f |choose b|rowse to|
|00005600| 6f 6c 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ol.unloc|k screen|
|00005610| 0d 65 6e 64 20 64 6f 57 | 61 72 6e 69 6e 67 0d 0d |.end doW|arning..|
|00005620| 6f 6e 20 6b 69 6c 6c 57 | 61 72 6e 69 6e 67 0d 69 |on killW|arning.i|
|00005630| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00005640| 20 6f 66 20 6c 61 73 74 | 20 63 64 20 66 6c 64 20 | of last| cd fld |
|00005650| 69 73 20 22 57 61 72 6e | 69 6e 67 22 20 74 68 65 |is "Warn|ing" the|
|00005660| 6e 0d 73 65 6c 65 63 74 | 20 63 64 20 66 6c 64 20 |n.select| cd fld |
|00005670| 22 77 61 72 6e 69 6e 67 | 22 0d 64 6f 6d 65 6e 75 |"warning|".domenu|
|00005680| 20 22 63 6c 65 61 72 20 | 66 69 65 6c 64 22 0d 63 | "clear |field".c|
|00005690| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|000056a0| 6c 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6b 69 6c |l.end if|.end kil|
|000056b0| 6c 57 61 72 6e 69 6e 67 | 0d 2d 2d 2f 20 65 6e 64 |lWarning|.--/ end|
|000056c0| 20 73 65 6c 66 61 73 73 | 65 73 73 6d 65 6e 74 73 | selfass|essments|
|000056d0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 67 6f 73 74 75 |..functi|on gostu|
|000056e0| 64 65 6e 74 53 74 61 63 | 6b 20 6f 70 74 41 73 6b |dentStac|k optAsk|
|000056f0| 0d 67 6c 6f 62 61 6c 20 | 67 53 74 75 64 65 6e 74 |.global |gStudent|
|00005700| 53 74 61 63 6b 4e 61 6d | 65 2c 67 4e 6f 44 69 73 |StackNam|e,gNoDis|
|00005710| 6b 2c 67 53 74 75 64 65 | 6e 74 4e 61 6d 65 0d 2d |k,gStude|ntName.-|
|00005720| 2d 20 6f 70 74 41 73 6b | 20 77 69 6c 6c 20 6f 76 |- optAsk| will ov|
|00005730| 65 72 72 69 64 65 20 74 | 68 65 20 67 4e 6f 44 69 |erride t|he gNoDi|
|00005740| 73 6b 20 73 6f 20 74 68 | 65 79 20 63 61 6e 20 61 |sk so th|ey can a|
|00005750| 64 64 20 74 68 65 20 64 | 69 73 6b 20 61 74 20 74 |dd the d|isk at t|
|00005760| 68 69 73 20 74 69 65 6d | 0d 69 66 20 6f 70 74 41 |his tiem|.if optA|
|00005770| 73 6b 20 69 73 20 22 22 | 20 61 6e 64 20 67 4e 6f |sk is ""| and gNo|
|00005780| 44 69 73 6b 20 69 73 20 | 74 72 75 65 20 74 68 65 |Disk is |true the|
|00005790| 6e 20 65 78 69 74 20 67 | 6f 53 74 75 64 65 6e 74 |n exit g|oStudent|
|000057a0| 53 74 61 63 6b 0d 62 65 | 71 75 69 65 74 0d 69 66 |Stack.be|quiet.if|
|000057b0| 20 67 53 74 75 64 65 6e | 74 53 74 61 63 6b 4e 61 | gStuden|tStackNa|
|000057c0| 6d 65 20 69 73 20 22 22 | 20 74 68 65 6e 0d 70 75 |me is ""| then.pu|
|000057d0| 74 20 22 53 74 75 64 65 | 6e 74 20 44 69 73 6b 3a |t "Stude|nt Disk:|
|000057e0| 4d 46 20 53 74 75 64 65 | 6e 74 20 53 74 61 63 6b |MF Stude|nt Stack|
|000057f0| 22 20 69 6e 74 6f 20 67 | 53 74 75 64 65 6e 74 53 |" into g|StudentS|
|00005800| 74 61 63 6b 4e 61 6d 65 | 0d 65 6e 64 20 69 66 0d |tackName|.end if.|
|00005810| 0d 69 66 20 66 69 6c 65 | 45 78 69 73 74 73 28 67 |.if file|Exists(g|
|00005820| 53 74 75 64 65 6e 74 53 | 74 61 63 6b 4e 61 6d 65 |StudentS|tackName|
|00005830| 29 20 74 68 65 6e 0d 67 | 6f 20 67 53 74 75 64 65 |) then.g|o gStude|
|00005840| 6e 74 53 74 61 63 6b 4e | 61 6d 65 0d 72 65 74 75 |ntStackN|ame.retu|
|00005850| 72 6e 20 22 74 72 75 65 | 22 0d 65 6c 73 65 0d 70 |rn "true|".else.p|
|00005860| 75 74 20 22 59 6f 75 20 | 6e 65 65 64 20 79 6f 75 |ut "You |need you|
|00005870| 72 20 53 74 75 64 65 6e | 74 20 44 69 73 6b 20 74 |r Studen|t Disk t|
|00005880| 6f 20 73 61 76 65 20 79 | 6f 75 72 20 77 6f 72 6b |o save y|our work|
|00005890| 2e 22 20 26 26 20 c2 0d | 22 49 66 20 79 6f 75 20 |." && ..|"If you |
|000058a0| 77 61 6e 74 20 74 6f 20 | 75 73 65 20 69 74 2c 20 |want to |use it, |
|000058b0| 69 6e 73 65 72 74 20 69 | 74 20 69 6e 74 6f 20 74 |insert i|t into t|
|000058c0| 68 65 20 64 72 69 76 65 | 20 74 68 65 6e 20 22 20 |he drive| then " |
|000058d0| 26 20 c2 0d 22 63 6c 69 | 63 6b 20 d2 4f 4b 2e d3 |& .."cli|ck .OK..|
|000058e0| 22 20 69 6e 74 6f 20 73 | 74 72 69 6e 67 0d 61 6e |" into s|tring.an|
|000058f0| 73 77 65 72 20 73 74 72 | 69 6e 67 20 77 69 74 68 |swer str|ing with|
|00005900| 20 22 4e 6f 20 64 69 73 | 6b 22 20 6f 72 20 22 4f | "No dis|k" or "O|
|00005910| 4b 22 0d 69 66 20 69 74 | 20 69 73 20 22 4e 6f 20 |K".if it| is "No |
|00005920| 64 69 73 6b 22 20 74 68 | 65 6e 0d 70 75 74 20 22 |disk" th|en.put "|
|00005930| 74 72 75 65 22 20 69 6e | 74 6f 20 67 4e 6f 44 69 |true" in|to gNoDi|
|00005940| 73 6b 0d 72 65 74 75 72 | 6e 20 22 66 61 6c 73 65 |sk.retur|n "false|
|00005950| 22 20 2d 2d 20 6e 6f 20 | 73 74 75 64 65 6e 74 20 |" -- no |student |
|00005960| 64 69 73 6b 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |disk.els|e if it |
|00005970| 69 73 20 22 4f 4b 22 20 | 74 68 65 6e 0d 67 6f 20 |is "OK" |then.go |
|00005980| 67 53 74 75 64 65 6e 74 | 53 74 61 63 6b 4e 61 6d |gStudent|StackNam|
|00005990| 65 20 2d 2d 20 6a 75 73 | 74 20 68 61 76 65 20 74 |e -- jus|t have t|
|000059a0| 6f 20 68 61 76 65 20 61 | 20 64 69 61 6c 6f 67 20 |o have a| dialog |
|000059b0| 62 6f 78 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |box.if t|he resul|
|000059c0| 74 20 69 73 20 22 22 20 | 74 68 65 6e 0d 67 65 74 |t is "" |then.get|
|000059d0| 20 63 68 65 63 6b 4e 61 | 6d 65 28 29 0d 69 66 20 | checkNa|me().if |
|000059e0| 69 74 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 0d |it is tr|ue then.|
|000059f0| 70 75 74 20 22 66 61 6c | 73 65 22 20 69 6e 74 6f |put "fal|se" into|
|00005a00| 20 67 4e 6f 44 69 73 6b | 0d 72 65 74 75 72 6e 20 | gNoDisk|.return |
|00005a10| 22 74 72 75 65 22 20 2d | 2d 20 66 6f 75 6e 64 20 |"true" -|- found |
|00005a20| 69 74 20 6f 6e 20 74 68 | 65 20 73 65 63 6f 6e 64 |it on th|e second|
|00005a30| 20 74 72 79 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 | try.end| if.end |
|00005a40| 69 66 0d 65 6e 64 20 69 | 66 0d 2d 2d 20 69 66 20 |if.end i|f.-- if |
|00005a50| 79 6f 75 20 67 65 74 20 | 68 65 72 65 2c 20 69 74 |you get |here, it|
|00005a60| 27 73 20 64 75 65 20 74 | 6f 20 61 20 62 61 64 20 |'s due t|o a bad |
|00005a70| 73 74 75 64 65 6e 74 20 | 64 69 73 6b 20 6f 72 20 |student |disk or |
|00005a80| 63 61 6e 63 65 6c 2e 0d | 72 65 66 72 65 73 68 0d |cancel..|refresh.|
|00005a90| 70 75 74 20 22 74 72 75 | 65 22 20 69 6e 74 6f 20 |put "tru|e" into |
|00005aa0| 67 4e 6f 44 69 73 6b 0d | 72 65 74 75 72 6e 20 22 |gNoDisk.|return "|
|00005ab0| 66 61 6c 73 65 22 0d 65 | 6e 64 20 69 66 0d 65 6e |false".e|nd if.en|
|00005ac0| 64 20 67 6f 73 74 75 64 | 65 6e 74 53 74 61 63 6b |d gostud|entStack|
|00005ad0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 63 68 65 63 6b |..functi|on check|
|00005ae0| 4e 61 6d 65 0d 67 6c 6f | 62 61 6c 20 67 53 74 75 |Name.glo|bal gStu|
|00005af0| 64 65 6e 74 4e 61 6d 65 | 0d 69 66 20 20 6e 61 6d |dentName|.if nam|
|00005b00| 65 20 6f 66 20 74 68 69 | 73 20 62 67 20 69 73 20 |e of thi|s bg is |
|00005b10| 6e 6f 74 20 22 73 74 75 | 64 65 6e 74 20 73 74 61 |not "stu|dent sta|
|00005b20| 63 6b 22 20 74 68 65 6e | 0d 67 6f 20 62 61 63 6b |ck" then|.go back|
|00005b30| 0d 65 6a 65 63 74 44 69 | 73 6b 20 31 0d 70 75 74 |.ejectDi|sk 1.put|
|00005b40| 20 22 54 68 69 73 20 69 | 73 20 6e 6f 74 20 61 20 | "This i|s not a |
|00005b50| 53 74 75 64 65 6e 74 20 | 44 69 73 6b 2e 22 20 26 |Student |Disk." &|
|00005b60| 26 20 c2 0d 22 49 74 20 | 77 6f 6e d5 74 20 62 65 |& .."It |won.t be|
|00005b70| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 73 61 76 | possibl|e to sav|
|00005b80| 65 20 79 6f 75 72 20 77 | 6f 72 6b 2e 22 20 69 6e |e your w|ork." in|
|00005b90| 74 6f 20 73 74 72 69 6e | 67 0d 61 6e 73 77 65 72 |to strin|g.answer|
|00005ba0| 20 73 74 72 69 6e 67 20 | 77 69 74 68 20 22 4f 4b | string |with "OK|
|00005bb0| 22 0d 72 65 74 75 72 6e | 20 22 66 61 6c 73 65 22 |".return| "false"|
|00005bc0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 66 6c 64 20 |.end if.|put fld |
|00005bd0| 22 67 6c 6f 62 61 6c 22 | 20 6f 66 20 63 64 20 22 |"global"| of cd "|
|00005be0| 67 53 74 75 64 65 6e 74 | 4e 61 6d 65 22 20 69 6e |gStudent|Name" in|
|00005bf0| 74 6f 20 73 61 76 65 64 | 4e 61 6d 65 0d 69 66 20 |to saved|Name.if |
|00005c00| 73 61 76 65 64 4e 61 6d | 65 20 69 73 20 22 22 20 |savedNam|e is "" |
|00005c10| 74 68 65 6e 20 20 2d 2d | 20 6e 65 77 20 73 74 61 |then --| new sta|
|00005c20| 63 6b 0d 70 75 74 20 67 | 53 74 75 64 65 6e 74 4e |ck.put g|StudentN|
|00005c30| 61 6d 65 20 69 6e 74 6f | 20 66 6c 64 20 22 67 6c |ame into| fld "gl|
|00005c40| 6f 62 61 6c 22 20 6f 66 | 20 63 64 20 22 67 53 74 |obal" of| cd "gSt|
|00005c50| 75 64 65 6e 74 4e 61 6d | 65 22 0d 72 65 74 75 72 |udentNam|e".retur|
|00005c60| 6e 20 22 74 72 75 65 22 | 0d 65 6e 64 20 69 66 0d |n "true"|.end if.|
|00005c70| 69 66 20 73 61 76 65 64 | 4e 61 6d 65 20 69 73 20 |if saved|Name is |
|00005c80| 6e 6f 74 20 67 53 74 75 | 64 65 6e 74 4e 61 6d 65 |not gStu|dentName|
|00005c90| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 49 73 | then.an|swer "Is|
|00005ca0| 20 79 6f 75 72 20 6e 61 | 6d 65 20 d2 22 20 26 20 | your na|me ." & |
|00005cb0| 73 61 76 65 64 4e 61 6d | 65 20 26 20 22 3f d3 22 |savedNam|e & "?."|
|00005cc0| 20 77 69 74 68 20 22 57 | 72 6f 6e 67 20 6e 61 6d | with "W|rong nam|
|00005cd0| 65 22 20 c2 0d 6f 72 20 | 22 59 65 73 22 0d 69 66 |e" ..or |"Yes".if|
|00005ce0| 20 69 74 20 69 73 20 22 | 57 72 6f 6e 67 20 6e 61 | it is "|Wrong na|
|00005cf0| 6d 65 22 20 74 68 65 6e | 0d 65 6a 65 63 74 44 69 |me" then|.ejectDi|
|00005d00| 73 6b 20 31 0d 72 65 74 | 75 72 6e 20 66 61 6c 73 |sk 1.ret|urn fals|
|00005d10| 65 20 2d 2d 20 6e 6f 20 | 6d 61 74 63 68 0d 65 6c |e -- no |match.el|
|00005d20| 73 65 0d 70 75 74 20 73 | 61 76 65 64 4e 61 6d 65 |se.put s|avedName|
|00005d30| 20 69 6e 74 6f 20 67 53 | 74 75 64 65 6e 74 4e 61 | into gS|tudentNa|
|00005d40| 6d 65 20 2d 2d 20 63 68 | 61 6e 67 65 20 74 68 65 |me -- ch|ange the|
|00005d50| 20 67 6c 6f 62 61 6c 20 | 74 6f 20 6d 61 74 63 68 | global |to match|
|00005d60| 20 74 68 65 20 64 69 73 | 6b 0d 72 65 74 75 72 6e | the dis|k.return|
|00005d70| 20 74 72 75 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 | true.en|d if.end|
|00005d80| 20 69 66 0d 72 65 74 75 | 72 6e 20 74 72 75 65 20 | if.retu|rn true |
|00005d90| 2d 2d 20 74 68 65 79 20 | 6d 61 74 63 68 65 64 0d |-- they |matched.|
|00005da0| 65 6e 64 20 63 68 65 63 | 6b 4e 61 6d 65 0d 0d 66 |end chec|kName..f|
|00005db0| 75 6e 63 74 69 6f 6e 20 | 67 6f 4e 6f 74 65 62 6f |unction |goNotebo|
|00005dc0| 6f 6b 0d 69 66 20 67 6f | 53 74 75 64 65 6e 74 53 |ok.if go|StudentS|
|00005dd0| 74 61 63 6b 28 22 22 29 | 20 69 73 20 22 74 72 75 |tack("")| is "tru|
|00005de0| 65 22 20 74 68 65 6e 0d | 67 6f 20 63 64 20 22 6e |e" then.|go cd "n|
|00005df0| 6f 74 65 62 6f 6f 6b 22 | 0d 72 65 74 75 72 6e 20 |otebook"|.return |
|00005e00| 74 72 75 65 0d 65 6c 73 | 65 0d 72 65 74 75 72 6e |true.els|e.return|
|00005e10| 20 66 61 6c 73 65 0d 65 | 6e 64 20 69 66 0d 65 6e | false.e|nd if.en|
|00005e20| 64 20 67 6f 4e 6f 74 65 | 62 6f 6f 6b 0d 0d 66 75 |d goNote|book..fu|
|00005e30| 6e 63 74 69 6f 6e 20 67 | 6f 53 6e 61 70 73 68 6f |nction g|oSnapsho|
|00005e40| 74 0d 62 65 71 75 69 65 | 74 0d 70 75 74 20 22 53 |t.bequie|t.put "S|
|00005e50| 74 75 64 65 6e 74 20 44 | 69 73 6b 3a 53 6e 61 70 |tudent D|isk:Snap|
|00005e60| 73 68 6f 74 22 20 69 6e | 74 6f 20 73 6e 61 70 4e |shot" in|to snapN|
|00005e70| 61 6d 65 0d 69 66 20 66 | 69 6c 65 45 78 69 73 74 |ame.if f|ileExist|
|00005e80| 73 28 73 6e 61 70 4e 61 | 6d 65 29 20 74 68 65 6e |s(snapNa|me) then|
|00005e90| 0d 67 6f 20 73 6e 61 70 | 4e 61 6d 65 0d 72 65 74 |.go snap|Name.ret|
|00005ea0| 75 72 6e 20 22 74 72 75 | 65 22 0d 65 6c 73 65 0d |urn "tru|e".else.|
|00005eb0| 70 75 74 20 22 59 6f 75 | 20 6e 65 65 64 20 79 6f |put "You| need yo|
|00005ec0| 75 72 20 53 74 75 64 65 | 6e 74 20 44 69 73 6b 20 |ur Stude|nt Disk |
|00005ed0| 66 6f 72 20 73 6e 61 70 | 73 68 6f 74 73 2e 20 50 |for snap|shots. P|
|00005ee0| 6c 65 61 73 65 20 22 20 | 26 26 20 c2 0d 22 69 6e |lease " |&& .."in|
|00005ef0| 73 65 72 74 20 69 74 20 | 69 6e 74 6f 20 74 68 65 |sert it |into the|
|00005f00| 20 64 72 69 76 65 20 61 | 6e 64 20 63 6c 69 63 6b | drive a|nd click|
|00005f10| 20 74 68 65 20 d2 4f 4b | d3 20 62 75 74 74 6f 6e | the .OK|. button|
|00005f20| 20 62 65 6c 6f 77 2e 22 | 20 c2 0d 69 6e 74 6f 20 | below."| ..into |
|00005f30| 73 74 72 69 6e 67 0d 61 | 6e 73 77 65 72 20 73 74 |string.a|nswer st|
|00005f40| 72 69 6e 67 20 77 69 74 | 68 20 22 4e 6f 20 64 69 |ring wit|h "No di|
|00005f50| 73 6b 22 20 6f 72 20 22 | 4f 4b 22 0d 69 66 20 69 |sk" or "|OK".if i|
|00005f60| 74 20 69 73 20 22 4f 4b | 22 20 74 68 65 6e 20 2d |t is "OK|" then -|
|00005f70| 2d 20 74 72 79 20 61 67 | 61 69 6e 0d 69 66 20 66 |- try ag|ain.if f|
|00005f80| 69 6c 65 45 78 69 73 74 | 73 28 73 6e 61 70 4e 61 |ileExist|s(snapNa|
|00005f90| 6d 65 29 20 74 68 65 6e | 0d 67 6f 20 73 6e 61 70 |me) then|.go snap|
|00005fa0| 4e 61 6d 65 0d 72 65 74 | 75 72 6e 20 22 74 72 75 |Name.ret|urn "tru|
|00005fb0| 65 22 0d 65 6c 73 65 0d | 70 75 74 20 22 53 6f 72 |e".else.|put "Sor|
|00005fc0| 72 79 2c 20 63 61 6e d5 | 74 20 6c 6f 63 61 74 65 |ry, can.|t locate|
|00005fd0| 20 74 68 65 20 53 74 75 | 64 65 6e 74 20 44 69 73 | the Stu|dent Dis|
|00005fe0| 6b 2e 22 20 69 6e 74 6f | 20 73 74 72 69 6e 67 0d |k." into| string.|
|00005ff0| 61 6e 73 77 65 72 20 73 | 74 72 69 6e 67 20 77 69 |answer s|tring wi|
|00006000| 74 68 20 22 4f 4b 22 0d | 72 65 74 75 72 6e 20 22 |th "OK".|return "|
|00006010| 66 61 6c 73 65 22 0d 65 | 6e 64 20 69 66 0d 65 6c |false".e|nd if.el|
|00006020| 73 65 0d 2d 2d 20 61 6e | 73 77 65 72 65 64 20 6e |se.-- an|swered n|
|00006030| 6f 20 64 69 73 6b 0d 72 | 65 74 75 72 6e 20 22 66 |o disk.r|eturn "f|
|00006040| 61 6c 73 65 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |alse".en|d if.end|
|00006050| 20 69 66 0d 65 6e 64 20 | 67 6f 53 6e 61 70 73 68 | if.end |goSnapsh|
|00006060| 6f 74 0d 0d 2d 2d 7c 7c | 7c 2d 2d 20 53 54 41 4e |ot..--||||-- STAN|
|00006070| 44 41 52 44 20 53 54 41 | 43 4b 20 53 43 52 49 50 |DARD STA|CK SCRIP|
|00006080| 54 53 20 45 4e 44 20 2d | 2d 7c 7c 7c 2d 2d 00 6c |TS END -|-|||--.l|
|00006090| 61 63 65 4e 61 6d 65 20 | 26 20 72 65 74 75 72 6e |aceName |& return|
|000060a0| 20 26 20 6e 6f 74 65 54 | 65 78 74 20 26 20 72 65 | & noteT|ext & re|
|000060b0| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 c2 0d |turn & r|eturn ..|
|000060c0| 2d 2d 20 20 61 66 74 65 | 72 20 66 6c 64 20 22 6e |-- afte|r fld "n|
|000060d0| 6f 74 65 73 22 0d 72 65 | 74 75 72 6e 51 75 69 65 |otes".re|turnQuie|
|000060e0| 74 0d 65 6c 73 65 20 69 | 66 20 75 73 65 72 50 69 |t.else i|f userPi|
|000060f0| 63 6b 65 64 20 69 73 20 | 22 47 6f 20 74 6f 20 6e |cked is |"Go to n|
|00006100| 6f 74 65 62 6f 6f 6b 22 | 20 74 68 65 6e 20 2d 2d |otebook"| then --|
|00006110| 20 6f 70 65 6e 20 74 68 | 65 20 6e 6f 74 65 62 6f | open th|e notebo|
|00006120| 6f 6b 0d 6b 69 6c 6c 57 | 69 6e 64 6f 77 0d 69 66 |ok.killW|indow.if|
|00006130| 20 67 6f 4e 6f 74 65 62 | 6f 6f 6b 28 29 20 69 73 | goNoteb|ook() is|
|00006140| 20 66 61 6c 73 65 20 74 | 68 65 6e 20 65 78 69 74 | false t|hen exit|
|00006150| 20 6e 6f 74 65 62 6f 6f | 6b 0d 75 6e 6c 6f 63 6b | noteboo|k.unlock|
|00006160| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 69 72 69 | screen |with iri|
|00006170| 73 20 6f 70 65 6e 0d 65 | 6c 73 65 20 2d 2d 20 6d |s open.e|lse -- m|
|00006180| 75 73 74 20 62 65 20 43 | 61 6e 63 65 6c 0d 6b 69 |ust be C|ancel.ki|
|00006190| 6c 6c 57 69 6e 64 6f 77 | 0d 65 6e 64 20 69 66 0d |llWindow|.end if.|
|000061a0| 65 6e 64 20 4e 6f 74 65 | 42 6f 6f 6b 0d 0d 66 75 |end Note|Book..fu|
|000061b0| 6e 63 74 69 6f 6e 20 73 | 74 72 69 70 52 65 74 75 |nction s|tripRetu|
|000061c0| 72 6e 73 20 73 74 72 69 | 6e 67 0d 72 65 70 65 61 |rns stri|ng.repea|
|000061d0| 74 0d 67 65 74 20 6c 61 | 73 74 20 63 68 61 72 20 |t.get la|st char |
|000061e0| 6f 66 20 73 74 72 69 6e | 67 0d 69 66 20 69 74 20 |of strin|g.if it |
|000061f0| 3d 20 72 65 74 75 72 6e | 20 74 68 65 6e 20 64 65 |= return| then de|
|00006200| 6c 65 74 65 20 6c 61 73 | 74 20 63 68 61 72 20 6f |lete las|t char o|
|00006210| 66 20 53 74 72 69 6e 67 | 0d 65 6c 73 65 20 65 78 |f String|.else ex|
|00006220| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |it repea|t.end re|
|00006230| 70 65 61 74 0d 72 65 74 | 75 72 6e 20 73 74 72 69 |peat.ret|urn stri|
|00006240| 6e 67 0d 65 6e 64 20 73 | 74 72 69 70 52 65 74 75 |ng.end s|tripRetu|
|00006250| 72 6e 73 0d 0d 66 75 6e | 63 74 69 6f 6e 20 67 6f |rns..fun|ction go|
|00006260| 4e 6f 74 65 62 6f 6f 6b | 0d 2d 2d 20 75 73 65 64 |Notebook|.-- used|
|00006270| 20 74 6f 20 67 6f 20 74 | 6f 20 74 68 65 20 4e 6f | to go t|o the No|
|00006280| 74 65 62 6f 6f 6b 20 73 | 74 61 63 6b 20 74 6f 20 |tebook s|tack to |
|00006290| 6d 61 6b 65 20 61 20 6e | 65 77 20 6e 6f 74 65 20 |make a n|ew note |
|000062a0| 6f 72 20 74 6f 20 72 65 | 61 64 0d 2d 2d 20 74 68 |or to re|ad.-- th|
|000062b0| 65 20 73 74 61 63 6b 20 | 28 6f 6e 65 20 69 73 20 |e stack |(one is |
|000062c0| 22 62 6c 69 6e 64 22 2c | 20 74 68 65 20 6f 74 68 |"blind",| the oth|
|000062d0| 65 72 20 69 73 20 76 69 | 73 69 62 6c 65 29 0d 62 |er is vi|sible).b|
|000062e0| 65 71 75 69 65 74 0d 70 | 75 73 68 20 63 61 72 64 |equiet.p|ush card|
|000062f0| 0d 67 6f 20 74 6f 20 63 | 61 72 64 20 22 4e 6f 74 |.go to c|ard "Not|
|00006300| 65 62 6f 6f 6b 22 20 6f | 66 20 73 74 61 63 6b 20 |ebook" o|f stack |
|00006310| 22 53 74 75 64 65 6e 74 | 20 44 69 73 6b 3a 4d 46 |"Student| Disk:MF|
|00006320| 20 53 74 75 64 65 6e 74 | 20 53 74 61 63 6b 22 0d | Student| Stack".|
|00006330| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00006340| 20 6e 6f 74 20 22 22 20 | 74 68 65 6e 20 2d 2d 20 | not "" |then -- |
|00006350| 64 69 64 6e 27 74 20 66 | 69 6e 64 20 69 74 0d 75 |didn't f|ind it.u|
|00006360| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |nlock sc|reen.go |
|00006370| 74 68 69 73 20 63 64 0d | 6c 6f 63 6b 20 73 63 72 |this cd.|lock scr|
|00006380| 65 65 6e 0d 70 75 74 20 | 22 59 6f 75 20 6e 65 65 |een.put |"You nee|
|00006390| 64 20 79 6f 75 72 20 53 | 74 75 64 65 6e 74 20 44 |d your S|tudent D|
|000063a0| 69 73 6b 20 74 6f 20 77 | 72 69 74 65 20 61 20 6e |isk to w|rite a n|
|000063b0| 6f 74 65 2e 22 20 26 26 | 20 c2 0d 22 50 6c 65 61 |ote." &&| .."Plea|
|000063c0| 73 65 20 69 6e 73 65 72 | 74 20 69 74 20 69 6e 74 |se inser|t it int|
|000063d0| 6f 20 74 68 65 20 64 72 | 69 76 65 20 74 68 65 6e |o the dr|ive then|
|000063e0| 20 63 6c 69 63 6b 20 74 | 68 65 20 d2 4f 4b d3 20 | click t|he .OK. |
|000063f0| 62 75 74 74 6f 6e 2e 22 | 20 c2 0d 69 6e 74 6f 20 |button."| ..into |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.